Tried this. Get an error from my host: open_basedir restriction in effect. I'm new at this. Do you know what this means and is there a work around?
-----Original Message----- From: Alexander Deruwe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 3:28 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] security question On Wednesday 17 October 2001 19:14, Daniel Goldin wrote: > But I need to protect the files themselves. Is > their a way to protect the files without adding another level of > authorization when someone does access them from the browser? Move these text files one directory below the server root. E.g: /www/myserver is the root, so you create a directory /www/text-files. This can then never be accessed from a webbrowser, but PHP can still find them. Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]