File size: 575B
<?php
define("MYSQLHOST", "localhost");
define("DBNAME", "cat");
define("DBUSER", "root");
define("DBPASS", "cgdfg");
$sql = mysql_connect(MYSQLHOST, DBUSER, DBPASS);
$sql = mysql_select_db(DBNAME);
$sql = mysql_unbuffered_query("SET NAMES 'utf8';");
///////////////////
mysql_query("UPDATE `cat_users` SET `in` = 0, `out` = 0, `status` = 'off'");
mysql_query("UPDATE `cat_opsos_in` SET `ip` = '0', `opsos` = '0', `date` = '0', `in` = '0', `idsite` = '0'");
mysql_query("UPDATE `cat_opsos_out` SET `ip` = '0', `opsos` = '0', `date` = '0', `in` = '0', `idsite` = '0'");
?>