RE: [PHP] Protecting files in PHP

2002-10-01 Thread John W. Holmes
> 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! You can use an absolute or relative path, just like any other reference. Send the

[PHP] Protecting files in PHP

2002-10-01 Thread stas
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! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http: