Re: How Do You Protect Individual Files
| From: | Jason Wong | Date: | Fri, 23 Aug 2002 02:00:12 +0000 |
| Subject: | Re: How Do You Protect Individual Files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113705@lists.php.net to get a copy of this message | ||
On Friday 23 August 2002 08:25, Roger Lewis wrote:
> Warning: Cannot add header information - headers already sent by (output
> started at /home/sites/home/users/demo/web/getdocfile.php:14) in
> /home/sites/home/users/demo/web/getdocfile.php on line 65
> -------------------------------------------------------------------
> There is obviously something wrong with how the headers are being sent. I
> read that they should be at the top.
The header() does not necessarily have to be at the top. The answer to this
has been covered in the archives umpteen times (even more so than the
protecting file download question).
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Earth -- mother of the most beautiful women in the universe.
-- Apollo, "Who Mourns for Adonais?" stardate 3468.1
*/