Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35277 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69889 invoked by uid 1010); 7 Feb 2008 03:36:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69874 invoked from network); 7 Feb 2008 03:36:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2008 03:36:59 -0000 X-Host-Fingerprint: 74.163.151.104 adsl-163-151-104.mia.bellsouth.net Received: from [74.163.151.104] ([74.163.151.104:4390] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/6B-20044-0DC7AA74 for ; Wed, 06 Feb 2008 22:36:48 -0500 To: internals@lists.php.net,Sam Barrow Message-ID: <47AA7CCD.10406@gmail.com> Date: Wed, 06 Feb 2008 22:36:45 -0500 User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 CC: Stanislav Malyshev References: <47AA5354.7020806@zend.com> <1202345405.12780.2.camel@sams-room> In-Reply-To: <1202345405.12780.2.camel@sams-room> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 74.163.151.104 Subject: Re: [PHP-DEV] _REQUEST and variable_order From: jrhernandez05@gmail.com (Jessie Hernandez) Sam Barrow wrote: > On Wed, 2008-02-06 at 16:39 -0800, Stanislav Malyshev wrote: [snip] >> The proposal(s): >> 1. One way to fix it is to create a new .ini request_order that would >> control just _REQUEST. >> >> 2. Other solution would be to keep variables_order but drop 'C' parsing >> from _REQUEST - i.e. make _REQUEST never include cookies. I don't know >> how many people really need cookies together with get/post in REQUEST. > > I like this. $_REQUEST is used by me and most PHP developers I know > solely for the purpose of abstracting $_GET and $_POST. But user input > never comes directly from cookies (what user fills in a login form by > setting cookies?), so I don't see a point of including them. > I also like solution #2, I always read cookies using $_COOKIE. -- Jessie Hernandez Zend Certified Engineer (http://zend.com/zce.php?c=ZEND006359&r=222727282)