Re: Including Functions; one file or many?

From: Date: Fri, 26 May 2006 18:53:37 +0000
Subject: Re: Including Functions; one file or many?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-236988@lists.php.net to get a copy of this message
Name them .inc.php so that they cannot be opened by a webbrowser, thus giving more information to a potential attacker.
As always, there's another side to that augment. If you give them the .php suffix, then they can be ran via a browser "as-is" , which may not be something you want. Need to consider if running your includes will do any harm. tedd -- ------------------------------------------------------------------------------------ http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#236988) next »