- Joined
- Dec 25, 2009
- Messages
- 370
- Reaction score
- 234
Ohai,
Cuz some people have problems with SQL Injections. I have something that filters all the $_GET and $_POST.
Here u go:
Put it in a global page, or something that every page include.
Cya.
Cuz some people have problems with SQL Injections. I have something that filters all the $_GET and $_POST.
Here u go:
PHP:
foreach($_GET as $key => $value)
{
$_GET[$key]= addslashes_mssql($value);
}
foreach($_POST as $key => $value)
{
$_POST[$key]= addslashes_mssql($value);
}
Put it in a global page, or something that every page include.
Cya.
Last edited:

