curl-and-php
Re: multipart/form-data problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Jun 2011 15:10:18 +0200 (CEST)
Date: Mon, 13 Jun 2011 15:10:18 +0200 (CEST)
On Sun, 12 Jun 2011, Anders Berg wrote:
> I am trying to send the following (output from Live HTTP headers) with
> curl/php:
> $headers = array("Content-Type: multipart/form-data", "Content-Length: 144");
Remove both these two headers and libcurl will add them correctly itself!
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2011-06-13