PHP Filter functions

maw

Supreme [H]ardness
Joined
Sep 27, 2000
Messages
4,135
i was just looking at the PHP Filter functions today and was surprised how incredibly useful they were. It also struck me as odd that I have never seen anyone else use them for input validation. Does anyone know if there something inherently wrong with using the PHP filter functions for validating user input over all the other techniques? Or is this simply something a lot of people simply don't know about?
 
heck, just the email and URL validation is worth it, especially for people like me who couldn't preg_match themselves out of a wet paper bag. The string sensitization seems pretty thorough too.
 
Back
Top