note 17925 added to function.require
| From: | jon at nsql dot org | Date: | Thu, 03 Jan 2002 14:36:20 +0000 |
| Subject: | note 17925 added to function.require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24365@lists.php.net to get a copy of this message | ||
Just a quick security note about the above comment. If you do need to require php source via http
(ie change the extention to .inc instead of .php) _PLEASE_ remember that doing this will open the
source to everyone and anyone. If you _have_ to do it i recommend creating a config.php local to the
webserver with any sensitive information in it (ie. sql passwords)
.jb
--
http://www.php.net/manual/en/function.require.php
http://master.php.net/manage/user-notes.php?action=edit+17925
http://master.php.net/manage/user-notes.php?action=delete+17925
http://master.php.net/manage/user-notes.php?action=reject+17925