Re: http 411 error with cURL
| From: | Nick Wilson | Date: | Sat, 09 Oct 2004 23:02:04 +0000 |
| Subject: | Re: http 411 error with cURL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199082@lists.php.net to get a copy of this message | ||
* and then Marek Kilimajer declared....
> >* How to resolve this?
>
> header('Content-Length: ' . strlen($data_you_are_posting));
Ok, im with you Marek but how/where do i put it in my curl function?
Not with CURL_POSTFIELDS for sure.. i've been looking through the
options in the manual and dont see anything obivious...?
thanks mate..
--
Nick W