Jonathan, The exact same thing is happening to me right now, only that I'm working with the "Concord" people, not with authorize... it says SSL is enabled when I ask for the info.
The reason why you're not getting the values, is that cURL is telling PHP: curl: (1) libcurl was built with SSL disabled, https: not supported! You can see this if you have shell access, and type on command line: curl "https://...". I've tried all that I have found on the cURL mailing list history (make distclean, ./configure --with-ssl=SSLPATH, make install)..etc..etc.. but nothing works... Anyone has a solution?. Oscar F.- ----- Original Message ----- From: "Jonathan Rosenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 27, 2002 1:50 PM Subject: [PHP] CURL & SSL > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php