Stuart Felenstein wrote:

I'm reading PHP security paper by Chris Shiflett. Trying to figure out what is meant by first
initializing a variable. Now, just for the record, I'm not completely dumb.
I know you can start with a $var = 2


What I want to know is if the variable assignment is
unknown, as in a user form.
Would I then just initialize the variables to 0 ?

Stuart
test it using at least isset(), and after that do some sanity checks to make sure the user didn't input some bogus data

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to