Re: Looking for a reasonable explanation as to why $_REQUEST exists
| From: | Daniel Brown | Date: | Mon, 07 Jul 2008 19:14:52 +0000 |
| Subject: | Re: Looking for a reasonable explanation as to why $_REQUEST exists | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276400@lists.php.net to get a copy of this message | ||
On Mon, Jul 7, 2008 at 3:08 PM, mike <mike503@gmail.com> wrote:
>
> Then code for it :P I understand the idea, I don't see the need to
> create a dedicated construct in PHP for it. Part of PHP's power to me
> was finally getting away from the lazy ASP (VB-based)
> Request.Value('foo') or whatever it was and not able to identify if it
> was post, get, etc and making the coder define exactly what source of
> data he's getting it from.
What your saying makes sense, Mike, and is the preferred method of
doing things.... however, that doesn't invalidate the reason $_REQUEST
exists. Your initial email asked why it was there, not why some
people consider themselves programmers and rely on cheats and hacks
like that. ;-P
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.