Re: Protecting files in PHP

From: Date: Tue, 01 Oct 2002 18:53:40 +0000
Subject: Re: Protecting files in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-118402@lists.php.net to get a copy of this message
stas@newdel.net wrote: > > 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! Try using filesystem links or the PHP function readfile(). J

« previous php.general (#118402) next »