Re: Download Page?
| From: | Kevin Stone | Date: | Thu, 06 Jun 2002 18:49:14 +0000 |
| Subject: | Re: Download Page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100992@lists.php.net to get a copy of this message | ||
Common question becuase of it's somewhat unintuitive nature, but it is very
simple. Do a search for keywords "header" and "Content-disposition". That
should reveal what you want. Good luck.
-Kevin
----- Original Message -----
From: "Nick Richardson" <esoteric.web@gte.net>
To: "PHP General" <php-general@lists.php.net>
Sent: Thursday, June 06, 2002 12:38 PM
Subject: [PHP] Download Page?
> Hi all,
>
> I was wondering how i could make a download 'landing' page, that once a
user
> has filled out the download form and submitted it, it will send the file
> they are requesting as a download (not display a link to it, or display it
> in the browser) and also render a page that says something like "thanks
for
> downloading blah blah..." behind it at the same time.
>
> I would assume i would have to use header() to do this, but i dont know
> where i should start, a/o what headers to send.
>
> Any help would be appreciated.
>
> Thanks!
>
> //Nick Richardson (nickr@sitecommand.com)
> //SiteCommand LLC
> ---=====================================================---
> --] SiteCommand Control Panel: Coming June 1st, 2002 [--
> --] 'The Secure Solution To Easy Enterprise Management' [--
> ---=====================================================---
> --] Visit http://www.sitecommand.com to PreOrder Now [--
> ---=====================================================---
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>