Hello trlists,
Friday, March 12, 2004, 3:56:23 AM, you wrote:
tcc> It seems to me that for security one wants both things -- first, to
tcc> move only what you need from _POST into the global symbol table, and
tcc> second, validate it thoroughly.
Indeed.. roll-on input filters in PHP5 :)
--
Bes
Hey Richard,
> See Chapter 7 (Variables) of the PHP manual.
I remember reading about variable variables and also remember not
understanding them :-)
Will go through ch.7 again.
Thanks.
Cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Hello Ryan,
Thursday, March 11, 2004, 3:29:32 PM, you wrote:
>> Does this look nicer?
>>
>> $fields = array('username', 'password', ...);
>> foreach($fields as $key) $$key = $_POST[$key];
RA> A bit confused...whats the meaning of the double $ for "key"...or is that a
RA> typo?
It creates a vari
3 matches
Mail list logo