[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 input type=file ... field left empty, which is *NOT* the same as

[PHP] Re: Problem with timeout

2007-05-04 Thread Emmanuel Raulo-Kumagai
Frank Arensmeier a écrit : Hello. I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the server (Mac OS X Server 10.4.9 with PHP 5) and, when the

[PHP] Re: Send binary files with gzip encoding disabled

2007-05-04 Thread Emmanuel Raulo-Kumagai
strawks a écrit : Hello, I'm trying to send a ZIP file generated on the fly in a temporary directory. The ZIP file is created successfully and I'm using the following code to send it to the client : $filesize=filesize($path); $mimetype='application/zip'; // Make sure there's not

Re: [PHP] Selecting a special row from the database

2007-05-04 Thread Emmanuel Raulo-Kumagai
Edward Kay a écrit : -Original Message- From: Fredrik Thunberg [mailto:[EMAIL PROTECTED] Sent: 04 May 2007 15:31 To: Edward Kay Cc: php-general@lists.php.net Subject: Re: [PHP] Selecting a special row from the database Edward Kay skrev: -Original Message- From: Marcelo