Re: is_readable stricter than it should be (PHP5 only?)

From: Date: Sat, 03 Apr 2004 01:30:59 +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-8905@lists.php.net to get a copy of this message
stat() (of which is_readable() is a variant) was refactored slightly with PHP5. Take a look at the output of stat($sRealPath) and the user/group that the webserver is running as. It'll also help to know what OS/webserver/sapi is being used. -Sara ----- Original Message ----- From: "Luna Kid" <lunakid@neuropolis.org> Newsgroups: php.internals To: <internals@lists.php.net> Sent: Friday, April 02, 2004 3:56 PM Subject: is_readable stricter than it should be (PHP5 only?) > 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.

« previous php.internals (#8905) next »