Bug #53041 [Opn->Ver]: is_file() and open_basedir

From: Date: Tue, 12 Oct 2010 03:48:48 +0000
Subject: Bug #53041 [Opn->Ver]: is_file() and open_basedir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155097@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53041&edit=1 ID: 53041 Updated by: cataphract@php.net Reported by: sunseb at live dot com Summary: is_file() and open_basedir -Status: Open +Status: Verified Type: Bug Package: *Directory/Filesystem functions Operating System: Linux PHP Version: 5.3.3 Block user comment: N Previous Comments: ------------------------------------------------------------------------ [2010-10-11 10:38:23] sunseb at live dot com Description: ------------ php.ini : open_basedir = /home/ directory : /home/my_file.txt script : is_file('/home/my_file.txt'); // TRUE. is_file('/home/my_file.txt/whatever'); // FALSE but "Warning: is_file(): open_basedir restriction in effect." Why this warning (open_basedir is OK) ? Thank you ! (And sorry for my english.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53041&edit=1

« previous php.bugs (#155097) next »