forcing download of new file
| From: | Christian Dechery | Date: | Tue, 08 May 2001 17:13:37 +0000 |
| Subject: | forcing download of new file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51938@lists.php.net to get a copy of this message | ||
I want the script I'm doing to redirect all the output to a filename and
that it gets downloaded.
In other words... When someone presses the submit button I want the download
screen to show with the filename I declared so the user can save the output
from the script.
something like this:
- there's a form, the user fills it up and presses submit
- then instead of showing the output on the screen I want the output to
go to a file for him to download with a dynamically made filename (in this
case the date) containing the results of the execution of the script
is this possible? I think it is... I once saw it...
thanks
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br