View Single Post
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-19-2012 , 16:44   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #27

Quote:
Originally Posted by Alka View Post
Take care of SQL Injection and fix it.

PHP Code:
    replace_allg_szNameid ], charsmaxg_szName[ ] ), "'""*" )
    
replace_allg_szNameid ], charsmaxg_szName[ ] ), "^"", "*" )
    replace_all( g_szName[ id ], charsmax( g_szName[ ] ), "
`", "*" )
    replace_all( g_szName[ id ], charsmax( g_szName[ ] ), "´", "*" ) 
Is this ok?
guipatinador is offline