RE: [PHP-WIN] File Download - php 4

2005-07-15 Thread Rodrigo
The following url will help you http://www.php.net/features.file-upload You just have to make a form and use the enctype="multipart/form-data" This will make the content available in the next php page. Then you can write this content to a file (in this case, zip file) Grtz Rodrigo -Origin

RE: [PHP-WIN] file download .......

2002-11-01 Thread Dash McElroy
Toby, Look at this page: http://www.php.net/manual/en/function.header.php (excerpt below) If you want the user to be prompted to save the data you are sending, such as a generated PDF file, you can use the Content-Disposition header to supply a recommended filename and force the browser to displ

Re: [PHP-WIN] File download

2001-03-12 Thread Olivier Hubert
Hi, I believe your problem is related to the fact that you use "unknown" in your content-type header. This forces IE to search for an application to open the file of "unknown" type. Have you tried any other content-types? For more info on content-types, see the HTTP1.1 RFC: http://w