Re: Protecting a file via PHP.
| From: | - Edwin - | Date: | Tue, 16 Sep 2003 08:34:36 +0000 |
| Subject: | Re: Protecting a file via PHP. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162723@lists.php.net to get a copy of this message | ||
Hi,
"Steve Jackson" <stephen.jackson@violasystems.com> wrote:
> I just read this:
> http://zend.com/zend/trick/tricks-august-2001.php
> To protect a file via PHP.
Didn't really read this but...
> What does this part mean in the serving the files part:
> define('FILEDIR', '/mnt/dos/');
>
> Do I define the directory where the file is served from? Or do I define
> a directory to which the file is served to (a temp) or what?
It should be "from" and not "to".
> No matter
> what I've tried I get no error message and the browser (IE6) just hangs
> so it appears that PHP is trying to serve the file but failing for some
> reason.
Could be a different problem...
- E -
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/