I currently write a lot of scripts using cURL. I use three different servers for my clients who all use cURL. One of the hosting companies just upgraded to the latest version of PHP 4.1.2 and cURL 7.9.4. Now none of the cURL scripts run there, and support says the scripts don't work with the new version of cURL
Is this true, or are they full of @#$%&*!???
here is the small script...
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL,"https://secure.ibill.com/cgi-win/ccard/tpcard.exe");
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "reqtype=authorize&account=$accountnum&password=$accountpassword&saletype=ticket&crefnum=$crefnum&transnum=$transnum&authcode=$zauthcode");
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$x = curl_exec ($ch);
curl_close ($ch);
Sincerely,
Ron