I am on a server that has CURL & OpenSSL enabled. I assumed that this meant that I could do https: requests via CURL. But for some reason, my attempts to do this are not working.
If I do a CURL http: request, everything works fine (i.e., I get the web page, as expected). But if I use an https: request, no value is returned. Do I need to do something else to make https: requests work in CURL? Here's the code in question: $ch = curl_init("https://secure.authorize.net/gateway/transact.dll"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); In this case, $result is the null string (if you try that URL in your browser, you will that some text is returned). If I replace the curl_init with $ch = curl_init("http://www.cnet.com"); I get the expected string in $result. Any thoughts? -- JR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php