Re: open/save dialog on page load
| From: | Ed Vul | Date: | Fri, 07 Jul 2000 17:58:46 +0000 |
| Subject: | Re: open/save dialog on page load | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5426@lists.php.net to get a copy of this message | ||
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@fcs.uga.edu> wrote in message
news:20000707133812.A27955@spock.fcs.uga.edu...
> 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@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>