Файл: vfermu.ru/sys/home/start.php
Строк: 8
<?
$_POST['password']=123456;
$_SESSION['telecod_ip']=time();
mysql_query("INSERT INTO `farm_user` SET `nick` = 'Незнакомец', `start`='1', `password` = '123456', `pol` = '1', `money` = '$money_reg', `rubies` = '$ruby_reg', `status` = '0'");
$_SESSION['id_user']=mysql_insert_id();
$_SESSION['pass']=md5(my_esc($_POST['password']));
$adm = base64_encode($_SESSION['id_user']);
$passwd = base64_encode(md5(my_esc($_POST['password'])));
setcookie("log_id", $adm, time() + 3600 * 24 * 7);
setcookie("pass", $passwd, time() + 3600 * 24 * 7);
header("Location: http://$_SERVER[HTTP_HOST]/myfarm");
?>