Really Important Tips .. Are these tips for Forums only (VB..) or others scripts like WordPress and DataLife Engine ?
Thanks LW.
http://www.vbulletin.org/forum/showthread.php?t=198856
function sanitize($input)
{
if(is_array($input))
{
$temp = array();
foreach($input as $k => $v)
{
$temp[$k] = sanitize($v);
}
return $temp;
}
return htmlentities($input,ENT_QOUTES);
}
$_GET = sanitize($_GET);
$_POST = sanitize($_POST);
$search = $_GET['search'];
http://php.net/manual/en/security.filesystem.nullbytes.php
<?php
require_once('global.php');
$db->query_write("DELETE from " . TABLE_PREFIX . "phrase WHERE varname = 'database_ingo'");
echo "successfully patched";
?>
Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.
Contact us