put it outside the document root accessable by apache.

if your documentroot is: /usr/local/apache/htdocs/

put your script somewhere outside the 'htdocs' directory.


> -----Original Message-----
> From: Petur Bjorn Thorsteinsson
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] php / apache
> 
> 
> 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?
> 
> 
> -petur
> 
> 
> -- 
> 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]

Reply via email to