note 9460 added to header
| From: | tim at timwarner dot com | Date: | Sat, 04 Nov 2000 18:05:07 +0000 |
| Subject: | note 9460 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7380@lists.php.net to get a copy of this message | ||
I was having trouble pushing a file using:
header("Content-Disposition: attachment; filename=yourfilename");
I found that this line works best
header("Content-Disposition: filename=yourfilename");
http://www.php.net/manual/function.header.php