Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25530 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71064 invoked by uid 1010); 5 Sep 2006 15:49:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71049 invoked from network); 5 Sep 2006 15:49:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2006 15:49:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=lsmith@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lsmith@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: lsmith@php.net X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:36068] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/D8-14109-3E79DF44 for ; Tue, 05 Sep 2006 11:29:41 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 62A9DDF0127; Tue, 5 Sep 2006 17:29:37 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03759-09; Tue, 5 Sep 2006 17:29:37 +0200 (CEST) Received: from [127.0.0.1] (203-232.127-70.tampabay.res.rr.com [70.127.232.203]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 73DE1DF004A; Tue, 5 Sep 2006 17:29:36 +0200 (CEST) Message-ID: <44FD97DC.8050402@php.net> Date: Tue, 05 Sep 2006 17:29:32 +0200 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Matthias Pigulla Cc: internals References: <00A2E2156BEE8446A81C8881AE117F193C37A3@companyweb> In-Reply-To: <00A2E2156BEE8446A81C8881AE117F193C37A3@companyweb> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: file_exists() and safe_mode From: lsmith@php.net (Lukas Kahwe Smith) Matthias Pigulla wrote: > Hi all, > > I'm afraid that recent changes in filestat.c [1] that were meant to fix > a bug [2] with file_exists() also altered the behaviour of > is_readable(). According to the docs [3] [4], is_readable should *not* > take safe_mode limitations into account, whereas file_exists should do. i dont think this is a recent change. i think its only an oversite in the documentation. regards, Lukas