View Single Post
04-10-2008, 07:44 PM
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
I'm not, I was asking if anybody else was. filter_var() and filter_input() are pretty much identical except for the obvious, and I was asking in particular about filter_var in the sense that it would be employed as part of the sanitization method, not used as the only method.
Since then I've decided against it and wrote a method in my forms class that undoes magic_quotes_gpc (my host has it on), cleans it in one of three ways dependent on arguments I give it, then uses a combination of ctype functions and regular expressions to do the validation.
View Public Profile
Send a private message to delayedinsanity
Visit delayedinsanity's homepage!
Find More Posts by delayedinsanity