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!
A friend looking for a new full time preferably telecommute gig — if you are looking for a senior LAMP+more person, highly recommend. DM me.@dshafik [22 minutes ago]
Well, that was new. Live writing a talk abstract on google docs.@dshafik [13 hours ago]
You know it's bad when overnight delivery just isn't fast enough. If I could download this lens, I would do it.@dshafik [16 hours ago]