ID:               24313
 Updated by:       [EMAIL PROTECTED]
 Reported By:      giannici at neomedia dot it
-Status:           Open
+Status:           Closed
 Bug Type:         *Directory/Filesystem functions
 Operating System: OpenBSD
 PHP Version:      4.3.2
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




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

[2003-06-24 05:26:24] giannici at neomedia dot it

I forgot to say that no warning appears if the file exists.

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

[2003-06-24 05:18:59] giannici at neomedia dot it

Description:
------------
If open_basedir is in effect and file_exists() is called for a
non-existent file, than the usual open_basedir warning is printed even
if file is in an allowed paths!

Look at "Actual result" for an example error.

This could be related to bug #23190, but it results to be fixed for
4.3.2...


Actual result:
--------------
file_exists(): open_basedir restriction in effect.
File(/wwwdocs/user/flaccovi/aggtecnolex/200201/) is not within the
allowed path(s):
(/wwwdocs/user/siti/:/usr/local/lib/php/:/tmp/:/usr/local/php/safebin/:/wwwdocs/user/siti/phplib/:/wwwdocs/user/flaccovi/)



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


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

Reply via email to