note 40416 deleted from function.include by nlopess

From: Date: Wed, 03 Mar 2004 17:39:02 +0000
Subject: note 40416 deleted from function.include by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66183@lists.php.net to get a copy of this message
Note Submitter: RecoilUK ---- Hi For anyone just starting to use the include() function, please remember that by default, php only parses pages with the .php extension. I see so many people setting up Apache to parse .inc files etc, which is all very well, but what if you change hosts and forget to setup .inc parsing, any sensitive information will be displayed as is. My way of doing it, is to just change the way you name your files (if you have to, that is).... normal file.... foo.php include file.... foo.inc.php etc,etc

« previous php.notes (#66183) next »