From:             john at webital dot de
Operating system: linux
PHP version:      4.3.1
PHP Bug Type:     Documentation problem
Bug description:  not clearly explained open_basedir

Description:
------------
THIS IS A DOCUMENTATION BUG !

when its set for the following /home/www/netsh128/

and I have a file /home/www/netsh128/bits/neu/file.php which includes a
file in /home/www/netsh128/bits/file2.php
 
eg include '../file2.php';

I get loads of warnings a open_basedir restrictions !

If I change my include to 
include '/home/www/netsh128/bits/file2.php'; 

then no problems - this took a lot searching to find out !!!
It is not well documented !

Hope it helps someone !


-- 
Edit bug report at http://bugs.php.net/?id=24833&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24833&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24833&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24833&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24833&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24833&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24833&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24833&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24833&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24833&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24833&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24833&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24833&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24833&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24833&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24833&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to