On 2003.01.21 15:42 Joseph W. Goff wrote:
For the most part I found two errors
The first was a scope problem.  $HTTP_*_VARS hashes are not accessible
inside functions unless you source them in.  i.e. global
The other was an extra line in an if statement that did not contain
braces.
I did a little formating while I checked the code.  Try this to see if
it
works as you expected it to.

snip, it's perfect >
Yes, it works. I misunderstood the visibility of $HTTP_POST_VARS.
Thank you Joseph ! I really appreciate your help :)

I've read the paper from OWASP and now I'm a little paranoid about form validating and user input... does someone have other suggestions about improving the class ?

TIA,
Nicholas

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



Reply via email to