> I have some files off of the web root which I'd like to be able to
> 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 appropriate headers and then use readfile() to send the data.

---John Holmes...

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to