Re: Including Functions; one file or many?

From: Date: Tue, 30 May 2006 03:22:36 +0000
Subject: Re: Including Functions; one file or many?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-237062@lists.php.net to get a copy of this message
On Fri, May 26, 2006 9:46 am, Mark Kelly wrote: > On Friday 26 May 2006 14:56, Matt Carlson wrote: >> One note on include files. Usually it's "best practice" to not name >> them >> .inc >> >> Name them .inc.php so that they cannot be opened by a webbrowser, >> thus >> giving more information to a potential attacker. > > Is this still a concern when all include files are stored outside the > webroot (and thus in theory not directly accessible) anyway? If they are outside the web-tree, the concerns about .inc that are addressed by .inc.php do, in fact, become moot. You could name them .beezelbub at that point... :-) -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#237062) next »