$max))) return FALSE; return $string; } $site = $_REQUEST['site']; $site = sanitize_paranoid_string($site); //Time & Date $date = date ('m/d/y g:i a'); //IP Address $ip = $_SERVER['REMOTE_ADDR']; $type = "link"; $query = "INSERT INTO `traffic` (`date`,`ip`,`link`,`notes`,`site`,`type`) VALUES ( '$date','$ip','$link','$notes','$site','$type')"; // save the info to the database $results = mysqli_query( $query ); $url = str_replace("316AMPERSAND316","&","$link"); //echo "URL: $url"; header ("Location: $url"); ?>