Skip to content

Commit 5ad696d

Browse files
authored
Update UPGRADE.md
Added HMAC examples to the options array
1 parent ca2cbe5 commit 5ad696d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UPGRADE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ $address = $_SERVER["REMOTE_ADDR"];
2222
// Input your options for this query including your optional API Key and query flags.
2323
$proxycheck_options = array(
2424
'API_KEY' => '######-######-######-######', // Your API Key.
25+
'HMAC_KEY' => '', // Optional HMAC key from the Dashboard, requires TLS_SECURITY set to true.
2526
'ASN_DATA' => 1, // Enable ASN data response.
2627
'DAY_RESTRICTOR' => 7, // Restrict checking to proxies seen in the past # of days.
2728
'VPN_DETECTION' => 1, // Check for both VPN's and Proxies instead of just Proxies.
@@ -56,6 +57,7 @@ $address = $_SERVER["REMOTE_ADDR"];
5657
// Input your options for this query including your optional API Key and query flags.
5758
$proxycheck_options = array(
5859
'API_KEY' => '######-######-######-######', // Your API Key.
60+
'HMAC_KEY' => '', // Optional HMAC key from the Dashboard, requires TLS_SECURITY set to true.
5961
'DAY_RESTRICTOR' => 7, // Restrict checking to proxies seen in the past # of days.
6062
'ANONYMOUS_DETECTION' => true, // Set to true to enable Anonymous detections
6163
'TLS_SECURITY' => false, // Enable or disable transport security (TLS).
@@ -84,6 +86,7 @@ $address = $_SERVER["REMOTE_ADDR"];
8486
// Input your options for this query including your optional API Key and query flags.
8587
$proxycheck_options = array(
8688
'API_KEY' => '######-######-######-######', // Your API Key.
89+
'HMAC_KEY' => '', // Optional HMAC key from the Dashboard, requires TLS_SECURITY set to true.
8790
'DAY_RESTRICTOR' => 7, // Restrict checking to proxies seen in the past # of days.
8891
'ANONYMOUS_DETECTION' => true, // Set to true to enable Anonymous detections
8992
'PROXY_DETECTION' => true, // Set to true to enable Proxy detections

0 commit comments

Comments
 (0)