note 9461 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 21:45:14 +0000 |
| Subject: | note 9461 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19750@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.