Re: http 411 error with cURL

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

 



Nick Wilson wrote:
* 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 ;-)


Sorry, I got it mixed :) But you figured it out.

--
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