note 16837 added to function.show-source

From: Date: Thu, 15 Nov 2001 13:00:27 +0000
Subject: note 16837 added to function.show-source
Groups: php.notes 
Request: Send a blank email to php-notes+get-20871@lists.php.net to get a copy of this message
In regards to the note suggesting that passwords be put into a seperate *.inc file and then require()'d, instead of using *.inc, use the name *.inc.php This makes the php engine process the page as a php doc, therefore hiding any code in it... otherwise, if the file is readable, any user can just load up the *.inc as text, and get the passwords that way :) -- http://www.php.net/manual/en/function.show-source.php http://master.php.net/manage/user-notes.php?action=edit+16837 http://master.php.net/manage/user-notes.php?action=delete+16837 http://master.php.net/manage/user-notes.php?action=reject+16837

« previous php.notes (#20871) next »