RE: [PHP] variables??
| From: | John W. Holmes | Date: | Wed, 26 Mar 2003 01:04:06 +0000 |
| Subject: | RE: [PHP] variables?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141043@lists.php.net to get a copy of this message | ||
> It is considered more secure to declare the variable explicitly.
>
> $var = $_GET["var"];
Ummm... that's the same result as having register_globals on
(basically). You're not helping anything and it's certainly not any more
"secure".
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> > > I'm having a problem with form data being recognized by a php
script.
> > > If I send information with a GET the variable data appears in
> $GET[var]
> > > but not $var. >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php