Location: PHPKode > projects > VoxRank > voxrankfree/out.php
<?php
error_reporting(E_ALL);
require 'functions.php';
db_connect();
if (empty($_REQUEST['id'])) $id = ''; else $id = intval($_REQUEST['id']);
mysql_query('UPDATE voxrank SET hitsout=hitsout+1 WHERE id = '.$id);
$site = mysql_query('SELECT url FROM voxrank WHERE id = '.$id);
$i = mysql_fetch_assoc($site);
mysql_close();
header('Location: '. $i['url']);
?>
Return current item: VoxRank