|
Posted by Manuel Lemos on 11/18/05 01:59
Hello,
on 11/07/2005 07:51 PM Wescotte said the following:
> Any ideas as to why CURL produces different results? Also I've already
> used a CURL based app using almost the identical code above to login
> and send a checks cut today file which correctly works..
I have seen this behaviour with some version of Curl that do not handle
HTTP 1.1 responses with code 100. This is not an error but CUrl could
not handle it properly.
Personally I use this HTTP client class that uses fsockopen with OpenSSL
when available. Otherwise, internally it falls back to curl but changes
the request a bit to avoid the bug. You may want to try the class to see
if it solves your problem too:
http://www.phpclasses.org/httpclient
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Navigation:
[Reply to this message]
|