note 49395 deleted from features.safe-mode by tularis

From: Date: Wed, 26 Jan 2005 17:19:11 +0000
Subject: note 49395 deleted from features.safe-mode by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84034@lists.php.net to get a copy of this message
Note Submitter: dv at rpgnetwork dot de Reason: useless ---- i encountered a system (open_basedir restriction in effectand safemode enabled) which denied include()s (neither relative nor absolute paths), if the executing file is in a subdir, to files located in a subdir of the executing file's subdir. e.g. the script is located in "root/dir1/index.php" and the file to be included in "root/dir1/dir2/somefile.end". this resulted in a warning (Warning: open_basedir restriction in effect. File is in wrong directory ...). (include_path set to ".:usr/share/pear") interesting enough, placing the script in the root directory "resolved" the problem and worked just as usual.

« previous php.notes (#84034) next »