note 9461 added to header
| From: | jan dot krutisch at hamburg dot de | Date: | Sat, 04 Nov 2000 21:36:31 +0000 |
| Subject: | note 9461 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7381@lists.php.net to get a copy of this message | ||
speaking of pushing files using
that Content-Disposition:
The ways described in the annotations up to now have one problem: Almost any browser will show you a
dialog like: "Do you want to download 'sendfile.php3' ?", and then prompt you
with a file selector with the correct filename (e.g. "foobar.zip").
I have found (saw this on palmgear) that setting the url to the php file which should push the file
up like this:
"sendfile.php3/foobar.zip"
well, don't ask me, but that displays the right filename in the dialog and also pushes the file
exactly the way I wanted it to.
http://www.php.net/manual/function.header.php