Re: open/save dialog on page load
| From: | Alex Black | Date: | Fri, 07 Jul 2000 18:32:39 +0000 |
| Subject: | Re: open/save dialog on page load | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5434@lists.php.net to get a copy of this message | ||
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@turingstudio.com
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@whitepj.com ("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@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
>