cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: Uploading a file through curl + php

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 22 Dec 2004 14:19:22 +0100 (CET)

On Wed, 22 Dec 2004, Matt Parkins wrote:

> curl -F myfile=@myfile.dat
> http://localhost/prj/ccdw/functions/processreturndata.php

...

> which php options do I need to set to do this multipart/form-data HTTP post
> ?

http://curl.haxx.se/libcurl/php/examples/?ex=multipartpost.php

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-22