Re: http 411 error with cURL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux