You are here: Re: CURL Problem.. Comparing output from IE/CURL differs « PHP Programming Language « IT news, forums, messages
Re: CURL Problem.. Comparing output from IE/CURL differs

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация