Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
@@ -148,7 +148,7 @@ if ($u->room['file'] == 'bank') {
|
||||
$re2 = 'У вас недостаточно кр.';
|
||||
} elseif ($u->info['align'] != 2) {
|
||||
$pass = rand(10000, 91191);
|
||||
$pass = htmlspecialchars($_POST['pass1'], null, 'cp1251');
|
||||
$pass = htmlspecialchars($_POST['pass1'], null);
|
||||
$ins = mysql_query(
|
||||
'INSERT INTO `bank` (`uid`,`create`,`pass`) VALUES ("' . $u->info['id'] . '","' . time(
|
||||
) . '","' . mysql_real_escape_string($pass) . '")'
|
||||
|
||||
Reference in New Issue
Block a user