note 8227 deleted from function.include by sniper
| From: | sniper@php.net | Date: | Tue, 04 Nov 2003 00:39:55 +0000 |
| Subject: | note 8227 deleted from function.include by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59772@lists.php.net to get a copy of this message | ||
Note Submitter: mbreuer@delta-quadrant.net
----
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:
include_path=/usr/local/apache/phpinclude
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.