ID: 16208 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: *Web Server problem Operating System: GNU/Linux PHP Version: 4.1.2 New Comment:
Sorry, I forgot that I had to access $DOCUMENT_ROOT as $_SERVER["DOCUMENT_ROOT"] now. Previous Comments: ------------------------------------------------------------------------ [2002-03-21 13:55:47] [EMAIL PROTECTED] Constructs like <? require "$DOCUMENT_ROOT/head.php";?> will cause a bogus error "PHP Warning: open_basedir restriction in effect. File is in wrong directory in [...]" replacing $DOCUMENT_ROOT with the actual directory name works fine but is braindamaged to use. BTW this may also apply to other options like safe_mode_exec_dir. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16208&edit=1