Location: PHPKode > projects > phpSC > addons/stats/index.php
<?PHP
require_once('/var/www/vhosts/test.beatmatched.net/config.php');
$conn = _MYSQL_CONNECT;
mysql_select_db(_MYSQL_DB,$conn);
include_once('scastxml_var.php');
$sql = 'INSERT INTO addon_stats (`id`, `server`, `listeners`, `timestamp`) VALUES (NULL, 1, '.$currentlisteners.', CURRENT_TIMESTAMP)';
mysql_query($sql,$conn);
?>
Return current item: phpSC