View Single Post
Old 09-27-2011, 12:13 AM  
Jakez
Confirmed User
 
Jakez's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
Quote:
Originally Posted by d-null View Post
what are the most common injection hack vulnerabilities that a simple script like this might inadvertantly run into in the wrong hands? what should be done as basic protection?
The 'mysql_escape_string' part should take of that. It will escape the common characters people use to sql inject.

Now when people want to correctly use ' or " in the form you're going to run into another problem.

Quote:
You\'re text is going to look something like \\"this\\"
__________________
[email protected] - jakezdumb - 573689400

Killuminati

Last edited by Jakez; 09-27-2011 at 12:15 AM..
Jakez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote