Re: passing with get?
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 15 Dec 2000 23:41:16 +0000 |
| Subject: | Re: passing with get? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30612@lists.php.net to get a copy of this message | ||
On Fri, 15 Dec 2000, jeremy brand wrote:
> http://php.net/?foo=bar
>
> $foo is equal to "bar".
>
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> At least for the people who send me mail about a new language that
> they're designing, the general advice is: do it to learn about
> how to write a compiler. --Dennis Ritchie
>
Strictly speaking, no. $HTTP_GET_VARS["foo"] is equal to "bar". If
register_globals is set and variables_order doesn't block it, only then is
$foo equal to "bar".
Sorry to get pedantic, but a LOT of people trip over that.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>