|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-07 05:50 UTC] derick@php.net
[2003-07-07 05:53 UTC] sniper@php.net
[2003-07-07 06:26 UTC] jjarven at softers dot net
[2003-07-07 06:30 UTC] theseer@php.net
[2004-08-07 16:55 UTC] vrana@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 07:00:02 2025 UTC |
Description: ------------ Apache 1.3.27 httpd.conf: php_admin_value open_basedir /home/www/ - phpinfo() reports local value in effect to be /home/www/ Reproduce code: --------------- chdir('/etc'); echo getcwd(); Expected result: ---------------- "open_basedir restriction in effect" Actual result: -------------- Will output: /etc I tested opendir(), readdir() and readfile() and they behave correctly, thus are not able to read anything outside open_basedir.