php.net |  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:
MUST BE VALID
Solve the problem:
38 - 4 = ?
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 06:01:30 2024 UTC