Re: perform file download
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 15 Dec 2000 16:59:59 +0000 |
| Subject: | Re: perform file download | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30536@lists.php.net to get a copy of this message | ||
On Fri, 15 Dec 2000, Richard Lynch wrote:
> Search for "octet" in the code archives, and you'll find sample scripts.
>
> http://php.net/links.php
>
> ----- Original Message -----
> From: "Juergen Hall" <jyrgen@gmx.de>
> Newsgroups: php.general
> Sent: Friday, December 15, 2000 6:14 AM
> Subject: [PHP] perform file download
>
>
> > hi all
> > how do i perform a file download. no special
> > security needs have to be fulfilled. desired file
> > types are html/gif/jpg.
> > can i keep my browser from displaying instead
> > of prompting for download, or is it because
> > of a browser setting (i.e. "handle this type by
> > displaying") ?
> > best
> > jyrgen
> >
> > --
> > 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
> >
>
While this technique will work for Navigator, I've had mixed success with
Internet Explorer. It tries to be "cute" and interpret the file extension,
thereby thinking for you (surprise).
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>