Not Found

The requested URL was not found on this server.

\n"; exit; } // check for bots $human = TRUE; include('/var/www/html/botlist.php'); $useragent = $_SERVER['HTTP_USER_AGENT']; foreach ($bots as $bot) { if (stristr($useragent, $bot) !== FALSE) $human = FALSE; } if (!$useragent) $human = FALSE; // empty string if ($human) { // TEMPORARY TRACKING SECTION /* $useragent = addslashes($useragent); $query = "INSERT INTO useragenttrack SET requesttime=NOW(), ipaddress='" . $_SERVER['REMOTE_ADDR'] . "', useragent='$useragent', request='" . $_SERVER['REQUEST_URI'] . "'"; $result = mysql_query($query); */ // END TEMPORARY TRACKING SECTION // how many links already today? $query = "SELECT num FROM linktrack WHERE bid='$bid' AND type='$type' AND id='$listingid' AND regionid='$regionid' AND linkdate=CURDATE()"; $result = mysql_query($query); list($num) = mysql_fetch_row($result); $num++; // record the link if (mysql_num_rows($result) > 0) $query = "UPDATE linktrack SET num='$num' WHERE bid='$bid' AND type='$type' AND id='$listingid' AND regionid='$regionid' AND linkdate=CURDATE()"; else $query = "INSERT INTO linktrack SET bid='$bid', type='$type', id='$listingid', regionid='$regionid', linkdate=CURDATE(), num=1"; $result = mysql_query($query); } // redirect header('HTTP/1.1 301 Moved Permanently'); header("Location: $link"); exit; ?>