On Fri, Jun 29, 2001 at 03:54:13PM +0000, Pétur Björn Thorsteinsson wrote:

> can anyone tell me how to configure a php script so that it can only be
> accessed by other scripts and not directly by typing its url in the
> webrowser?

Just move the script outside the web root.  Browsers can't directly
access files that aren't inside web-visible directories.

Matt

-- 
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]

Reply via email to