php-general | 2000071
Date: 07/07/00
- Next message: Bernie Huang: "[PHP] read file into a variable"
- Previous message: Howard Cohodas: "RE: [PHP] PHP script: need a scheduled task!!!"
- In reply to: Ed Vul: "Re: [PHP] open/save dialog on page load"
- Next in thread: Ryan Adams: "Re: [PHP] open/save dialog on page load"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
no,
thou art not making an ass of thyself :)
you could also do it with a meta redirect... but I like the javascript way
better because you retain more control :)
_a
-- Alex Black, Head Monkey enigma <email protected>The Turing Studio, Inc. http://www.turingstudio.com
vox+510.666.0074 fax+510.666.0093
Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522
> From: edv <email protected> ("Ed Vul") > Newsgroups: php.general > Date: 7 Jul 2000 10:58:28 -0700 > Subject: Re: [PHP] open/save dialog on page load > > Uhm, I dont know, but you could do it with javascript and get the same > result... > <body onLoad="top.location='saveme.zip';"> > If you make that your body tag, then it will popup a window to save/open > 'saveme.zip' when the page loads... > but you probably already know this and I'm making an ass of myself. > > Ed > > "Ryan Adams" <radams <email protected>> wrote in message > news:20000707133812.A27955 <email protected> >> Hi all, >> >> How would I cause a php page to bring up the 'open this file from current > location/save file to disk' >> when a page loads? Like what happens when you click on a zip file or exe > or something. I'm guessing >> something with header() maybe? >> >> Thanks, >> Ryan >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe <email protected> >> For additional commands, e-mail: php-general-help <email protected> >> To contact the list administrators, e-mail: php-list-admin <email protected> >> > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > For additional commands, e-mail: php-general-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected> >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bernie Huang: "[PHP] read file into a variable"
- Previous message: Howard Cohodas: "RE: [PHP] PHP script: need a scheduled task!!!"
- In reply to: Ed Vul: "Re: [PHP] open/save dialog on page load"
- Next in thread: Ryan Adams: "Re: [PHP] open/save dialog on page load"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

