RE: [PHP] Download Page?
| From: | Ray Hunter | Date: | Thu, 06 Jun 2002 18:52:20 +0000 |
| Subject: | RE: [PHP] Download Page? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-100995@lists.php.net to get a copy of this message | ||
Kevin,
You will need to send the header information for the file...then you can do
a new header so that you show the "thank you for downloading" page...
Thank you,
RAY HUNTER
-----Original Message-----
From: Kevin Stone [mailto:kevin@helpelf.com]
Sent: Thursday, June 06, 2002 12:49 PM
To: PHP General
Subject: Re: [PHP] Download Page?
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
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php