Protecting files in PHP
| From: | stas at newdel dot net | Date: | Tue, 01 Oct 2002 18:18:08 +0000 |
| Subject: | Protecting files in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118399@lists.php.net to get a copy of this message | ||
Hello,
I have some files off of the web root which I'd like to be able to serve up
to users (*.doc, *.xls). I know I can do this with header(), but how do I
reference a file that's outside of the webroot? Thanks!