Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8904 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2360 invoked by uid 1010); 3 Apr 2004 00:38:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2300 invoked from network); 3 Apr 2004 00:38:01 -0000 Received: from unknown (HELO shiva.mind.de) (212.42.230.204) by pb1.pair.com with SMTP; 3 Apr 2004 00:38:01 -0000 Received: from [192.168.1.105] (p508E9B4C.dip.t-dialin.net [80.142.155.76]) by shiva.mind.de (Postfix) with ESMTP id 79B5497B69; Sat, 3 Apr 2004 02:38:00 +0200 (CEST) Date: Sat, 3 Apr 2004 02:37:55 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1161067213703.20040403023755@marcus-boerger.de> To: Luna Kid Cc: internals@lists.php.net In-Reply-To: <20040402235607.94267.qmail@pb1.pair.com> References: <20040402235607.94267.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] is_readable stricter than it should be (PHP5 only?) From: helly@php.net (Marcus Boerger) 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