Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25528 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60229 invoked by uid 1010); 5 Sep 2006 15:31:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60214 invoked from network); 5 Sep 2006 15:31:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2006 15:31:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.196 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.196 nz-out-0102.google.com Linux 2.4/2.6 Received: from [64.233.162.196] ([64.233.162.196:57584] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/E8-14109-E589DF44 for ; Tue, 05 Sep 2006 11:31:43 -0400 Received: by nz-out-0102.google.com with SMTP id 34so904578nzf for ; Tue, 05 Sep 2006 08:31:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=hNess64mazEFiRkvgEbowuzG+4QjElk8ZolJxq+XIgEd1PL/lravWlrMvpAKJ3cozH/fTb3H9j9h2+MBfq3xeqVgqZNIuWKOh22cz3rQq3tpe21rd/HNtIK+dYDBJqw66KKDcqMoGxe9evSSio4UA0ApviCDNU6TPxfN2tfEGPo= Received: by 10.65.84.4 with SMTP id m4mr4807355qbl; Tue, 05 Sep 2006 08:31:39 -0700 (PDT) Received: from ?192.168.1.6? ( [72.59.8.142]) by mx.gmail.com with ESMTP id e19sm4894104qbe.2006.09.05.08.31.39; Tue, 05 Sep 2006 08:31:39 -0700 (PDT) In-Reply-To: <00A2E2156BEE8446A81C8881AE117F193C37A3@companyweb> References: <00A2E2156BEE8446A81C8881AE117F193C37A3@companyweb> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <0F255418-D9CC-4DEA-B707-3B64480D6CE4@prohost.org> Cc: "internals" Content-Transfer-Encoding: 7bit Date: Tue, 5 Sep 2006 11:31:20 -0400 To: Matthias Pigulla X-Mailer: Apple Mail (2.752.2) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] file_exists() and safe_mode From: ilia@prohost.org (Ilia Alshanetsky) I think the current behavior solves made old bug reports, where by people used is_readable() to see if they could read from a file, only to have the operation file due to safe_mode/open_basedir restrictions. Taking the check away would also mean it would be possible to "explore" file file system bypassing PHP's file system restrictions. Ilia Alshanetsky