|
ZenCart_Documentation
1.5.0
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $defaultURL = "http://www.zen-cart.com/testcurl.php" | |
| $useSSL = (isset($_GET['ssl']) && (strtolower($_GET['ssl']) == 'yes' || $_GET['ssl'] == 1)) ? true : false | |
| $url = $defaultURL | |
| $proxy = (isset($_GET['proxy'])) ? true : false | |
| $proxyAddress = (isset($_GET['proxyaddress'])) ? $_GET['proxyaddress'] : '' | |
| $testFirstData = ((isset($_GET['firstdata']) && (strtolower($_GET['firstdata']) == 'yes' || $_GET['firstdata'] == 1)) || (isset($_GET['linkpoint']) && (strtolower($_GET['linkpoint']) == 'yes' || $_GET['linkpoint'] == 1))) ? true : false | |
| $testAuthnet = (isset($_GET['authnet']) && (strtolower($_GET['authnet']) == 'yes' || $_GET['authnet'] == 1)) ? true : false | |
| $testPayPal = (isset($_GET['paypal']) && (strtolower($_GET['paypal']) == 'yes' || $_GET['paypal'] == 1)) ? true : false | |
| $_POST = array() | |
| $data = "field1=This is a test&statuskey=ready" | |
| $ch = curl_init() | |
| $result = curl_exec($ch) | |
| $errtext = curl_error($ch) | |
| $errnum = curl_errno($ch) | |
| $commInfo = @curl_getinfo($ch) | |
| $_POST = array() |
Definition at line 28 of file curltester.php.
| $ch = curl_init() |
Definition at line 35 of file curltester.php.
| $commInfo = @curl_getinfo($ch) |
Definition at line 63 of file curltester.php.
| $data = "field1=This is a test&statuskey=ready" |
Definition at line 32 of file curltester.php.
| $defaultURL = "http://www.zen-cart.com/testcurl.php" |
Definition at line 12 of file curltester.php.
| $errnum = curl_errno($ch) |
Definition at line 62 of file curltester.php.
| $errtext = curl_error($ch) |
Definition at line 61 of file curltester.php.
| $proxy = (isset($_GET['proxy'])) ? true : false |
Definition at line 16 of file curltester.php.
| $proxyAddress = (isset($_GET['proxyaddress'])) ? $_GET['proxyaddress'] : '' |
Definition at line 17 of file curltester.php.
| $result = curl_exec($ch) |
if ($proxy && $proxyAddress != '') { curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, true); ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt ($ch, CURLOPT_PROXY, $proxyAddress); }
Definition at line 60 of file curltester.php.
| $testAuthnet = (isset($_GET['authnet']) && (strtolower($_GET['authnet']) == 'yes' || $_GET['authnet'] == 1)) ? true : false |
Definition at line 22 of file curltester.php.
| $testFirstData = ((isset($_GET['firstdata']) && (strtolower($_GET['firstdata']) == 'yes' || $_GET['firstdata'] == 1)) || (isset($_GET['linkpoint']) && (strtolower($_GET['linkpoint']) == 'yes' || $_GET['linkpoint'] == 1))) ? true : false |
Definition at line 19 of file curltester.php.
| $testPayPal = (isset($_GET['paypal']) && (strtolower($_GET['paypal']) == 'yes' || $_GET['paypal'] == 1)) ? true : false |
Definition at line 25 of file curltester.php.
| $url = $defaultURL |
Definition at line 15 of file curltester.php.
| $useSSL = (isset($_GET['ssl']) && (strtolower($_GET['ssl']) == 'yes' || $_GET['ssl'] == 1)) ? true : false |
Definition at line 13 of file curltester.php.