FW: [PHP] Protecting a file via PHP.

2003-09-16 Thread Steve Jackson
: RE: [PHP] Protecting a file via PHP. > > 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

Re: [PHP] Protecting a file via PHP.

2003-09-16 Thread - Edwin -
Hi, "Steve Jackson" <[EMAIL PROTECTED]> 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 th

[PHP] Protecting a file via PHP.

2003-09-16 Thread Steve Jackson
I just read this: http://zend.com/zend/trick/tricks-august-2001.php To protect a file via PHP. 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 serv