Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27242 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75851 invoked by uid 1010); 2 Jan 2007 23:30:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75836 invoked from network); 2 Jan 2007 23:30:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2007 23:30:29 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1755] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/97-03249-41BEA954 for ; Tue, 02 Jan 2007 18:30:29 -0500 Received: (qmail 71063 invoked by uid 98); 2 Jan 2007 23:30:27 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.7/2405. Clear:RC:1(127.0.0.1):. Processed in 0.389066 secs); 02 Jan 2007 23:30:27 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.389066 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 2 Jan 2007 23:30:26 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 2 Jan 2007 17:30:26 -0600 (CST) Message-ID: <2414.216.230.84.67.1167780626.squirrel@www.l-i-e.com> In-Reply-To: References: <20061231094951.48487025.kevin@oceania.net> <4596F6F8.6030605@zend.com> Date: Tue, 2 Jan 2007 17:30:26 -0600 (CST) To: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Include fileinfo in core From: ceo@l-i-e.com ("Richard Lynch") > Yes, but no hosters do that and I would actually push for turning this > very usefull extension on by default. I spoke with Ilia before and we > can most likely even bundle it when we make the library file in memory > as well. And I think we should improve the ext a bit and put it in. It seems cheap enough and ubiquitous enough to belong in core to this naive reader... It can be a real hassle to write to a brain-dead webhost of a client to convince them to add a PECL extension just so you can do some fundamental sanity checks on an uploaded file to have some degree of confidence that it's not evil content. Asking the client to switch hosts is seldom an option. Hacking something up with exec() or having to roll your own Mime Magic for a distributed file upload library seems like a lot of developers will be inconvenienced... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?