View Single Post
Old 04-29-2008, 02:33 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by bDok View Post
or ... mysql_real_escape_string

ugh.
Don't forget, mysql_real_escape_string() requires a handler, so you must have an open DB socket to use it.

For the love of god, people, learn to sanitize your variables.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote