On Tuesday, March 5, 2002, at 01:57  PM, Kevin Stone wrote:

> It's not possible to include() a remote file so there may be little
> point to this.  However maybe you want to keep users on your system from
> including the file in their scripts.  In that case I suppose you could
> set $PHP_SELF (of the main script) to a temporary variable for checking
> in the included script.  -Kevin

Or set an Apache directive (in httpd.conf or .htaccess) that prevents 
any .inc files from being served by the server.

I'm assuming you're using apache.



Erik Price
Web Developer Temp
Media Lab, H.H. Brown

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

Reply via email to