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
@dshafik Don't hate mysql...hate your lack of understanding :) (and mine ;) )
@magical_trevor [10 hours ago]
@dshafik And having any disease increase a researchers chance of finding better treatment - let alone a "cure".
@uberChick [10 hours ago]
@dshafik But I also call: *shenanigans*! Cause one's own mental strengths won't help one survive anything.
@uberChick [10 hours ago]
@dshafik I think I get your point. Critical thinking will help one find the best available treatment and that will increase one's chances.
@uberChick [10 hours ago]
@uberChick mental strength can help you win... i.e. smarts can find a cure. :)
@dshafik [10 hours ago]
