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
?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.
2 matches
Mail list logo