SQL injection cheatsheet - Good things to know to help you secure your server.
I'm really lucky, I use Ruby on Rails, and if you use it right, it'll protect you from most SQL injection attacks. It's still really good to be aware of these attacks, though.