Mailing Lists
| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: How do I POST with a different Content-Type via php?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Aug 2007 09:28:54 +0200 (CEST)
On Thu, 9 Aug 2007, Richard Lynch wrote:
> $headers = array('User-Agent: myagent', 'Host: somehost.com',
> curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
I strongly advice you to not set Content-length yourself but instead let
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-08-09 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info