Re: curl CUSTOMREQUEST

From: Date: Wed, 22 Dec 2004 02:44:36 +0000
Subject: Re: curl CUSTOMREQUEST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204924@lists.php.net to get a copy of this message
Hello, on 12/21/2004 05:10 PM Juan Nin said the following:
I saw a post at http://www.php.net/manual/en/ref.curl.php where it says: "Using the customrequest for a complete post is wrong. Libcurl will add a partial url, the http version and the standard headers after the post data - while this works with a non-persistent connection and an apache web server, it may fail under different conditions" Does anybody know a bit more on this?? (I sent an e-mail to the one who posted it, but the address does not longer exist)
I use custom requests with Curl library using this HTTP client class but I only do that to perform SSL requests. For other types of requests the class uses connections opened with fsockopen . In any case I do not experience the problem that you see. http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html

« previous php.general (#204924) next »