#23807 [NEW]: is_file() open_basedir problem

From: Date: Mon, 26 May 2003 04:03:23 +0000
Subject: #23807 [NEW]: is_file() open_basedir problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40421@lists.php.net to get a copy of this message
From:             greg at mtechsolutions dot ca
Operating system: Linux
PHP version:      4.3.1
PHP Bug Type:     Filesystem function related
Bug description:  is_file() open_basedir problem

is_file() seems to say "open_basedir restriction in effect", even when the
file is actually within the basedir. 

file_exists() using the same parameters and conditions works properly.


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



Thread (5 messages)

« previous php.bugs (#40421) next »