From: [EMAIL PROTECTED]
Operating system: linux 2.4.2 (red-hat 6) i686
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: absolute path dosen't work with file_exists()
file_exists () works fine with reletive paths, but seems to not work with absolute
paths, or paths starting with '../'
this works fine:
--------------------------------------------------------------
if(file_exists(test/123)) {
die ("error message");
}
this does not work:
--------------------------------------------------------------
if(file_exists(/tmp/test/123)) {
die ("error message");
}
this does not work:
--------------------------------------------------------------
if(file_exists(../../tmp/test/123)) {
die ("error message");
}
thanks... atom
--
Edit Bug report at: http://bugs.php.net/?id=10465&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]