Re: open/save dialog on page load
| From: | Ryan Adams | Date: | Fri, 07 Jul 2000 19:01:15 +0000 |
| Subject: | Re: open/save dialog on page load | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5437@lists.php.net to get a copy of this message | ||
Hehehe...
Not at all - great suggestion. Unfortunately, I need it to save the source of the
page that's popping up. Maybe trick it into thinking the page is of another type,
without redirecting to another page.
Any ideas?
Ryan
On Fri, Jul 07, 2000 at 10:58:46AM -0700, Ed Vul wrote:
> 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
> >
>
>
>
> --
> 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
---end quoted text---