[PHP] PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
I am trying to communicate with an API of a vendors of ours. They provide a Perl example that works fast and well. I am trying to do the same thing with a PHP class. The response takes over a minute before the response comes back. I see from the response text that the API is running on Apache

Re: [PHP] PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Curt Zirzow
* Thus wrote Robert Fitzpatrick ([EMAIL PROTECTED]): I am trying to communicate with an API of a vendors of ours. They provide a Perl example that works fast and well. I am trying to do the same thing with a PHP class. The response takes over a minute before the response comes back. I see from

Re: [PHP] PHP timeout doing fread from Apache Coyote

2003-07-24 Thread Robert Fitzpatrick
if (!fputs($fp, $op, strlen($op))) { which HTTP version are you requesting? I know that if you send a HTTP/1.1 then a lot of servers send the data in chunks, thus your retrieval code needs to be different. If it is HTTP/1.1 try using HTTP/1.0 instead. Same difference with the 1.0, I was