note 13113 deleted from ref.curl by danbrown

From: Date: Sun, 17 May 2009 19:48:45 +0000
Subject: note 13113 deleted from ref.curl by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155273@lists.php.net to get a copy of this message
Note Submitter: marco dot mcc at inwind dot it ---- If you want to write your entire HTTP request without use any other CURL functions like CURLOPT_POST specify it within a curl_setopt ($ch,CURLOPT_CUSTOMREQUEST , $req) line; Where $req looks like (let me imagine a POST request...): POST /destination/script HTTP/1.1 Content-length: xxx Content-type: text/xml host: yourhost accept: */* accept-encoding: gzip, deflate accept-language: en-us connection: close; Keep-Alive ... your POST data ... CURLOPT_CUSTOMREQUEST is not documented?!? but it's useful and amazing! marcomcc (Roma)

« previous php.notes (#155273) next »