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:

if (is_readable("owner.php"))
        echo "READABLE";
        echo "UNREADABLE";
include ("owner.php");

The result is:
Script print to browser UNREADABLE and correctly include the file owner.php to 
browser. I think, that it means the file is readable.

Rudolf Wolf.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to