[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: [PHP] register globals changed to off, script breaks
From: Greg Donald <destiney () gmail ! com>
Date: 2004-09-30 20:10:41
Message-ID: ea9da26c04093013103dd51551 () mail ! gmail ! com
[Download RAW message or body]
On Thu, 30 Sep 2004 14:33:30 -0400, Kevin Coyner <kevin@rustybear.com> wrote:
> What does work is:
>
> $cid = $_GET($varname);
>
> But that is only for when a single variable is passed, not when a bunch
> of them get passed and need to be put into an array.
$_GET is already an array, why reassign to another array at all?
Unless you need to mangle the values, I'd just use the $_GET array as
it is.
Meanwhile, you might want to look at print_r($_GET) to see if it
actually contains what you think it's supposed to.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic