Date: 12/01/99
- Next message: tim <email protected>: "[PHP-DEV] PHP 4.0 Bug #2889: Pass expression by reference."
- Previous message: Bryan Gintz: "[PHP-DEV] Auto Download"
- In reply to: Bryan Gintz: "[PHP-DEV] Auto Download"
- Next in thread: Peter Bowen: "RE: [PHP-DEV] Auto Download"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 1 Dec 1999, Bryan Gintz wrote:
| Is there any way that I can have a download start right after the
| submission of a form.
| Example:
| User picks a file and hits submit, as soon as the form comes back it
| pops up the little "save as" box.
The "standard trick" is to use Javascript in the resulting document:
<body onLoad="document.location = 'http://foo.com/file.zip'">
- Stig
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: tim <email protected>: "[PHP-DEV] PHP 4.0 Bug #2889: Pass expression by reference."
- Previous message: Bryan Gintz: "[PHP-DEV] Auto Download"
- In reply to: Bryan Gintz: "[PHP-DEV] Auto Download"
- Next in thread: Peter Bowen: "RE: [PHP-DEV] Auto Download"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

