| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Upgraded - then Posts Stopped Working
From: Nathan Zabaldo <nate_at_visimark.us>
Date: Wed, 11 Jan 2006 16:11:07 -0600
I'm in panic mode here. We just upgraded using Yum to libcurl v 7.12.0.
Echo $return_string displays headers and then "An error has occurred!".
How can I fix this?
Example Usage that no longer works since upgrade:
$eraConn = curl_init();
if (!$eraConn)
die ("There was an error please try again or call our 800 line.");
/* Set CURL Options */
curl_setopt($eraConn, CURLOPT_URL, $leadProcessingPage);
curl_setopt($eraConn, CURLOPT_POST, 1);
curl_setopt($eraConn, CURLOPT_POSTFIELDS, $data);
curl_setopt($eraConn, CURLOPT_VERBOSE, 1);
curl_setopt($eraConn, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($eraConn, CURLOPT_HEADER, 1);
curl_setopt($eraConn, CURLOPT_RETURNTRANSFER, 1);
/* Execute CURL and return values */
$return_string = curl_exec($eraConn);
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info