I have installed cURL 7.9.4 and PHP 4.1.2 on a Cobalt Raq4 server. Everything runs fine including cURL with one exception. I can communicate to AuthorizeNet fine using the built in PHP commands, but when I try to communicate with iBill the exact same way, it just hangs. If I put the script on CQHost or a couple other servers we use, it runs fine. What could be the cause of this? I noticed that iBill does not return any http headers even when I tell it to in the curl_setopt function where Authorizenet does return headers. Could this be it?
Any guesses?
Eric
I think you are both right and wrong in that iBill is probably looking for a header from you, that you aren't sending.
Try adding: curl_setopt ($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
somewhere inside your cUrl call.