Re: is_readable stricter than it should be (PHP5 only?)
| From: | Marcus Boerger | Date: | Sat, 03 Apr 2004 00:37:55 +0000 |
| Subject: | Re: is_readable stricter than it should be (PHP5 only?) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8904@lists.php.net to get a copy of this message | ||
Hello Luna,
most probably the file rights prevent the web server from reading it.
The function works as expected in 4.3.6rc as well as php5.
Apart from that this is neither a bug list nor a support list.
marcus
Saturday, April 3, 2004, 1:56:11 AM, you wrote:
> Tampering with a coWiki (www.cowiki.org) plugin, I noticed that
> is_readable() returns false, when PHP actually *can* read the file.
> (Just commented out an "if (!is_readable($sRealPath))" and then
> all went fine, the plugin now can read the files...)
> Is there a known reason for or has anoyone bumped into this? (Just
> asking so I can decide if I should put some efforts to investigating
> this.)
> Thanks,
> Sz.
--
Best regards,
Marcus mailto:helly@php.net