[PHP] Function is_readable doesn't work correctly

2002-10-08 Thread Rudolf Wolf
Hello. I have compiled PHP 4.2.3 with Apache 2.0.42 and my problem is, that the function is_readable doesn't work as I expected. It is allways returning false and not check the current permission to file. For example: ?php if (is_readable(owner.php)) echo READABLE; else echo

RE: [PHP] Function is_readable doesn't work correctly

2002-10-08 Thread David Freeman
?php if (is_readable(owner.php)) echo READABLE; else echo UNREADABLE; include (owner.php); ? According to the manual, the results of is_readable() is cached. So, if you've been testing this and have both readable and unreadable you may have the wrong one cached.