Pass the file through a PHP script, using header() to set the mime-type,
then passing the file through.

Pretty sure there's examples (and documentation of the problems with IE)in
the manual:

Justin French

on 17/08/02 6:36 AM, David Buerer ([EMAIL PROTECTED]) wrote:

> I have a bunch of files which need to be kept secure. I need to allow a user
> access to them them based on a criteria which I can programmatically
> determine.
> My question, is how can I allow the user to download or view only one file
> on my computer without allowthem to just enter the URL into their browser of
> the file and view it?

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to