|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23807 is_file() open_basedir problem
Submitted: 2003-05-25 23:03 UTC Modified: 2005-01-31 23:13 UTC
From: greg at mtechsolutions dot ca Assigned:
Status: Not a bug Package: Safe Mode/open_basedir
PHP Version: 4.3.1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
27 - 18 = ?
Subscribe to this entry?

 [2003-05-25 23:03 UTC] greg at mtechsolutions dot ca
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-06 00:45 UTC]
We already released 4.3.2. Reopen if you can reproduce this with it. (I can't)

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri May 24 14:01:26 2019 UTC