Filtering & Escaping Cheat Sheet
After having two conversation on escaping data for MySQL insertion within 5 minutes of each other in ##php@freenode, I decided to created a cheat sheet on Filtering & Escaping in general.
I think what most people are not aware of is that not just outputting to the browser is output. So is querying a database, or calling one of the exec functions, or even using the mail function (not mentioned on the cheat sheet, perhaps for v2 ![]()
Filtering & Escaping Cheat Sheet (PDF) – Grab it now!
Anyhow, I hope people find this useful!
- Davey
@spooons you need a quick-release plate? http://amzn.to/9vUIeU
@dshafik [6 hours ago]
@a add in Ctrl and it will not do the ticks (also works normally)
@dshafik [9 hours ago]
@dshafik awesome :)
@magical_trevor [10 hours ago]
@dshafik Hahahaha. No :-)
@mtabini [10 hours ago]
I came as Carl Fredricksen to "Dress like your favorite movie character" day at work... http://www.flickr.com/photos/dshafik/4951158377/
@dshafik [10 hours ago]
















