ID:               41684
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nicolas dot croiset at brume dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Safe Mode/open_basedir
 Operating System: linux FC4
 PHP Version:      5.2.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi




Previous Comments:
------------------------------------------------------------------------

[2007-06-14 04:35:00] nicolas dot croiset at brume dot org

Description:
------------
For example in apache configuration you have a restriction like and you
are in safe mode :
php_admin_value open_basedir /home/httpd/html/:/tmp/


Reproduce code:
---------------
if you want to check if a file is present or not
file_exists("test.txt") and this file is not present in the directory
/home/httpd/html/, you have the open basedir restriction warning.

But if I do the same thing in a subdirectory inside the restriction it
is OK. It is not OK only in the directory /home/httpd/html/.

Expected result:
----------------
no warning

Actual result:
--------------
you have the open basedir restriction warning


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41684&edit=1

Reply via email to