Sanitize Inputs the Easy Way in PHP Posted on December 20, 2012 by David Kryzaniak Sanitizing user inputs isn’t fun. It requires writing nasty Regular Expressions (RegEx) or using a ‘find/replace’ like str_replace(). Both RegEx and str_replace() work great, but I want something that’s a bit nicer to look at (and faster too). I ran Read more ›