note 8227 added to include
| From: | mbreuer at delta-quadrant dot net | Date: | Thu, 31 Aug 2000 18:54:37 +0000 |
| Subject: | note 8227 added to include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3806@lists.php.net to get a copy of this message | ||
One way to secure your included files that hasn't been mentioned, is to get them out of your
web document path completely. Using unix/apache, edit the php.ini file to include something like
this:<p>
include_path=/usr/local/apache/phpinclude<p>
Put all your files that you want to include in the directory above (or whatever one you chose).
That way you never have to put sensitive documents in an area where users might be able to access
them.
http://www.php.net/manual/function.include.php