Hey - when i call the test script below (at my new host), it times out on curl execution. the same test script works flawlessly at a different host.
More info: when i test this script in the "faulty" environment with a different https URL (for example, https://www.etrade.com), the script works fine. Any idea why the authorize.net URL, in specific, results in timeout, but ONLY in one of the two testing environments?
<?
// -------------------
$ch = curl_init();
$strURL =
"https://secure.authorize.net/gateway/transact.dll";
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_URL, $strURL);
curl_setopt ($ch, CURLOPT_POST, "a=b");
curl_setopt ($ch, CURLOPT_POSTFIELDS, "a=b");
$returnString = curl_exec ($ch);
die($returnString."<P>".curl_errno($ch)." - ".curl_error($ch));
curl_close ($ch);
// -------------------
?>