RE: [PHP] cURL: multipart/form-data POST request with empty file part

2007-05-04 Thread Brad Fuller
Emmanuel Raulo-Kumagai wrote: > Sent: Friday, May 04, 2007 8:44 AM > To: php-general@lists.php.net > Subject: [PHP] cURL: multipart/form-data POST request with > empty file part > > Hello > > I'm writting a client in PHP for some CMS. > I need to send an HTTP

[PHP] cURL: multipart/form-data POST request with empty file part

2007-05-04 Thread Emmanuel Raulo-Kumagai
Hello I'm writting a client in PHP for some CMS. I need to send an HTTP POST request with a multipart/form-data content. One of the parts is a file which must look like the request was issued after submitting a web form with a field left empty, which is *NOT* the same as sending an empty file.