Re: How to open a save-as dialog and then redirect after donwload?
| From: | Jon Drukman | Date: | Tue, 19 Aug 2003 01:52:00 +0000 |
| Subject: | Re: How to open a save-as dialog and then redirect after donwload? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159970@lists.php.net to get a copy of this message | ||
Jean-Christian IMbeault wrote:
I want to create the following: 1- A screen a series files and associated buttons 2- if the user clicks the button a "File | save as" dialog opens up 3- after the file the user is redirected to a new page I've gotten 1 and 2 to work but I can't figure out how to do anything after the file has finished downloading. I've tried header("Location: ") but that doesn't work because it must be used before any input is sent.you can't really do it. best thing you can do is open a popup window to actually do the downloading. this is not a php question, btw. -jsd-