Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50908 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85481 invoked from network); 8 Dec 2010 00:46:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2010 00:46:02 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.174 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.214.174 mail-iw0-f174.google.com Received: from [209.85.214.174] ([209.85.214.174:43414] helo=mail-iw0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/A3-61862-845DEFC4 for ; Tue, 07 Dec 2010 19:46:01 -0500 Received: by iwn9 with SMTP id 9so704030iwn.33 for ; Tue, 07 Dec 2010 16:45:57 -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=+Zg5Bovq5dAVT2qSR7CzyqQoBGnbuKkmZ78SZUIZe4o=; b=mzYAbI2n0qq7xx2XBc7/+MtXJv7QMeQy0FTEVZGxShedOMzX3B2SATNsFkmBfcPNSC j6nfM31U6CGtfXCfVZ/lnqWO+ARG9gh/YCi3hORzSO8YDpwa3PKFU3mi3PN8MLuWR1KB 7E/PWtrNcnDNgIHKeTb6UMPJeG/RID2QXCjGg= 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=g/Ewm/fmSs7/LH/73MA2FchBujw7BOVS7xMbvad0luXNQM/hS6DuM21ScDqi+PKOIp f8enkYDKUqMEa6+6Rj5rlp1PaKZUWa0wdHIFF4k7be2Vi4nBjY1riI0JkZUG/NsERU1w txl7j6fpZ2GvxqbW5X1NWmTrT0mgJW1jO3t88= MIME-Version: 1.0 Received: by 10.42.173.10 with SMTP id p10mr3091icz.142.1291769156771; Tue, 07 Dec 2010 16:45:56 -0800 (PST) Received: by 10.42.227.6 with HTTP; Tue, 7 Dec 2010 16:45:56 -0800 (PST) Received: by 10.42.227.6 with HTTP; Tue, 7 Dec 2010 16:45:56 -0800 (PST) In-Reply-To: References: Date: Wed, 8 Dec 2010 08:45:56 +0800 Message-ID: To: Patrick ALLAERT Cc: internals@lists.php.net, Tig , Gustavo Lopes Content-Type: multipart/alternative; boundary=90e6ba6e826cb8a02b0496db717c Subject: Re: [PHP-DEV] RE : Re: [PHP-DEV] [PATCH] Add option to disable POST data processing From: tjerk.meesters@gmail.com (Tjerk Meesters) --90e6ba6e826cb8a02b0496db717c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Don't have much knowledge about the internal workings of the engine, but I'= m wondering if it's possible to apply "lazy loading" to the $_POST variable, so that processing only happens if and when it's requested. That way you wouldn't need the ini setting. On Dec 8, 2010 7:54 AM, "Patrick ALLAERT" wrote= : > It is not the goal to "block" but to prevent the usual processing of $_POST > when not required inside a valide POST request which will handle the inpu= t > differently. > > Le 7 d=E9c. 2010 23:36, "Tig" a =E9crit : > > If the objective is to 'block' POST data from getting to PHP, (in > apache) you can use: > http://httpd.apache.org/docs/2.0/mod/core.html#limit > > No need to change / add anything to PHP. > > -Tig > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/... --90e6ba6e826cb8a02b0496db717c--