PHP 4.0 Bug #7973: Safe Mode absolute path behaviour changed

From: Date: Sat, 25 Nov 2000 22:06:45 +0000
Subject: PHP 4.0 Bug #7973: Safe Mode absolute path behaviour changed
Groups: php.dev 
Request: Send a blank email to php-dev+get-39128@lists.php.net to get a copy of this message
From: james@mcglinn.org Operating system: Red Hat Linux 5.2 PHP version: 4.0.3pl1 PHP Bug Type: Scripting Engine problem Bug description: Safe Mode absolute path behaviour changed Under PHP 4.0.1pl2 running in Safe Mode with the php_doc_root admin flag set to the user's home directory, a require()'d or include()'d (or auto_prepended) file could be specified as '/html/path/to/file', which would be evaluated as php_doc_root/html/path/to/file. After upgrading to PHP 4.0.3pl1 this is no longer working, and all files appear to require their absolute paths to be used, ie $DOCUMENT_ROOT . "/path/to/file". -- Edit Bug report at: http://bugs.php.net/?id=7973&edit=1

« previous php.dev (#39128) next »