include ('include/connection_i.inc.php'); include ('sitestats.php'); $username = isset($_REQUEST["username"]) ? $_REQUEST["username"] : "" ; $username = preg_replace("/[^a-zA-Z0-9-_$]/","",$username); $username = mysqli_real_escape_string($con,$username); stats($con,$dbname); $username = isset($_REQUEST["username"]) ? $_REQUEST["username"] : "" ; header("Location: index.php?username=$username"); ?>