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

Comments are closed.

Twitter

Dear #verizon, make me an offer to ditch #Brighthouse and I'm yours if you install tomorrow. <= $135/mo for HD, DVR and 20/2mbit Internet.

@dshafik [7 hours ago]

@dshafik cool! Thanks for the tip

@harrieverveer [9 hours ago]

Just found the #netbeans Cmd+P (Ctrl+P on PC) shortcut. It shows function params in a tooltip when between parenthesis: http://bit.ly/bPd34l

@dshafik [9 hours ago]

@mgirouard what? no. it's terrible to give out verbally.

@dshafik [9 hours ago]

Should I renew crtx.org? I don't have any need for it (right now), but I kinda like it... never used for email either.

@dshafik [10 hours ago]

Books & Things