Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8906 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68960 invoked by uid 1010); 3 Apr 2004 02:49:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68936 invoked by uid 1007); 3 Apr 2004 02:49:37 -0000 Message-ID: <20040403024937.68935.qmail@pb1.pair.com> To: internals@lists.php.net References: <20040402235607.94267.qmail@pb1.pair.com> <1161067213703.20040403023755@marcus-boerger.de> Date: Sat, 3 Apr 2004 04:49:41 +0200 Lines: 51 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 81.0.87.200 Subject: Re: [PHP-DEV] is_readable stricter than it should be (PHP5 only?) From: lunakid@neuropolis.org ("Luna Kid") Dear Marcus: > most probably the file rights prevent the web server from reading it. As I mentioned: "PHP actually *can* read the file" -- and even though I haven't explicitly said, most obviously I implied: from the web server. > The function works as expected in 4.3.6rc as well as php5. As I mentioned: no, it does not work as expected, unfortunately, at least in PHP5. > Apart from that this is neither a bug list nor a support list. I see. So you mean one cannot ask questions regarding potential PHP implementation problems here? What then? Besides, let me tell you that I myself had this concern, so two weeks ago I posted a question here titled "PHP5: where to go with PHP5 betatesting feedback?" (because I simply could not find a hint of the correct answer to that question in the available PHP docs...). Nobody replied. Then, monitoring the postings here I found probably this might still be a place for such things, considering that the people, who are most interested in such issues -- the PHP developers -- are concentrated here quite densely... Regards, Szabolcs > 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 > >