note 8227 modified in include by ronabop

From: Date: Fri, 01 Sep 2000 03:15:14 +0000
Subject: note 8227 modified in include by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3852@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: 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. http://www.php.net/manual/function.include.php

« previous php.notes (#3852) next »