Re: Re: Trying to avoid code exploits..
| From: | Phil Driscoll | Date: | Wed, 01 Aug 2001 12:46:13 +0000 |
| Subject: | Re: Re: Trying to avoid code exploits.. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60639@lists.php.net to get a copy of this message | ||
> Is this staement safe ?
>
> eval('$a = $GLOBALS["pass1"]==$GLOBALS["pass2"]');
>
Maybe I'm missing the point, but why not just go:
$a = $GLOBALS["pass1"]==$GLOBALS["pass2"];
--
Phil Driscoll