Re: http 411 error with cURL
| From: | Nick Wilson | Date: | Sat, 09 Oct 2004 23:08:09 +0000 |
| Subject: | Re: http 411 error with cURL | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199083@lists.php.net to get a copy of this message | ||
* and then Nick Wilson declared....
>
> * 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...?
Opps!
CURLOPT_HTTPHEADER
I go play with it now ;-)
--
Nick W