Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51054 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64036 invoked from network); 16 Dec 2010 15:10:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2010 15:10:56 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.45 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.45 mail-bw0-f45.google.com Received: from [209.85.214.45] ([209.85.214.45:43466] helo=mail-bw0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/20-62669-FFB2A0D4 for ; Thu, 16 Dec 2010 10:10:56 -0500 Received: by bwz16 with SMTP id 16so3965448bwz.32 for ; Thu, 16 Dec 2010 07:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=p9be1URUJ5yoTZHYjQQxZVkr69WsRnquLqalhA71rKw=; b=g+Gmn81/lgOztxFGu2ENQW2yjmPIgZfvNGlRc3IMaVS5e8GCMsuJcuJxZXiRrrygnX wa2GX+B5dpQ2VZb7Kl5q/VzDdBWCpJkxxwqoop8qMyCXCdJ88b/sVeNDkp4hJ7jbMrah iWc0Hh8sKI0NWI14AWuQa2UXNYu2J8yC0FGrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z/9G60LC6J53Tu/e/gTdp26hVWOBZ+DMLsI8n8XILE2lYfKly3yBhmsfCXCbrk0SVl z50kV3QY3F0WuzewL5gHVaSiE1w7INDkoxfL3GEyjseYopAQtVpICkAyTgAYhMLj2QYT FXhfhfM2g94IWLiYScdNHInZkDd7N3Y8BewCA= MIME-Version: 1.0 Received: by 10.204.61.74 with SMTP id s10mr8575009bkh.91.1292512252993; Thu, 16 Dec 2010 07:10:52 -0800 (PST) Received: by 10.204.52.129 with HTTP; Thu, 16 Dec 2010 07:10:52 -0800 (PST) Received: by 10.204.52.129 with HTTP; Thu, 16 Dec 2010 07:10:52 -0800 (PST) In-Reply-To: References: <6b2ba5e56d64910c49bb431ba1e36e17@nebm.ist.utl.pt> <59.E3.36789.3D72A0D4@pb1.pair.com> Date: Thu, 16 Dec 2010 16:10:52 +0100 Message-ID: To: "Matthew Weier O'Phinney" Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=001636c5b067b522ac0497887564 Subject: Re: [PHP-DEV] [PATCH] Add option to disable POST data processing From: pierre.php@gmail.com (Pierre Joye) --001636c5b067b522ac0497887564 Content-Type: text/plain; charset=ISO-8859-1 I think you over react due to our past mistakes. What I'm trying to explain is exactly what you want. Efficienty without cinfusionsconfusions, ugly hacks or features duplication. And that's what I would like to discuss here instead if just doing it, for the sake of doing it. On 16 Dec 2010 15:53, "Matthew Weier O'Phinney" wrote: On 2010-12-16, Pierre Joye wrote: > On Thu, Dec 16, 2010 at 3:18 PM, Matthew ... > > The only way I can see such an action being "sensible" is if it's also > > runtime configurable ... INI_PER_DIR doesn't work for, I would argue, the majority of modern PHP applications. If you look at most frameworks, CMS solutions, or standalone apps such as WordPress, there's a single script acting as the gateway to all functionality (basically, a front controller). Making the setting INI_PER_DIR means that you have to move any functionality that may potentially require access to raw POST/PUT data into separate scripts and/or directories -- which splits functionality away from the front controller and makes maintenance much more difficult. > All in all, I don't think adding a set of new ini settings for very > specific and disputable fea... I'm not talking about processing file uploads; I'm talking about normal handling of raw POST/PUT body content -- something that's very, very common when dealing with RESTful or RPC APIs, where the format isn't normal URL encoding, but instead something like XML or JSON. I'm all for better, more efficient processing of file uploads -- but not at the expense of being able to build good APIs. -- Matthew Weier O'Phinney Project Lead | matthew@zend.com Zend Framework | ht... --001636c5b067b522ac0497887564--