note 5964 modified in header by ronabop
| From: | ronabop@php.net | Date: | Sun, 01 Oct 2000 07:00:49 +0000 |
| Subject: | note 5964 modified in header by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5764@lists.php.net to get a copy of this message | ||
To Download files for valid name, try like this...
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=yourfilename");
header("Content-Transfer-Encoding: binary");
but... when use IE5.0 to open files without download must select open two times..
http://www.php.net/manual/function.header.php