ID: 22610 Updated by: [EMAIL PROTECTED] Reported By: mark_ford_uk at yahoo dot co dot uk -Status: Open +Status: Bogus Bug Type: Directory function related Operating System: Red Hat Linux PHP Version: 4.3.1 New Comment:
No. Previous Comments: ------------------------------------------------------------------------ [2003-03-08 13:32:45] mark_ford_uk at yahoo dot co dot uk As of version 4.3, security was improved with regards to functions like is_file(). In particular, badly set file permissions will cause errors similar to the following: Warning: is_file() [function.is-file]: SAFE MODE Restriction in effect. The script whose uid is 10014 is not allowed to access ./filename/..... What I have discovered is, if I use is_file() on the filenames "." and ".." my script will break with errors like those above. Is this a bug? Thanks. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22610&edit=1
