Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
+3
-3
@@ -538,7 +538,7 @@ if (isset($_POST['do']) && $_POST['do'] == 'newShadow') {
|
||||
{
|
||||
$r = true;
|
||||
//
|
||||
$login = htmlspecialchars($login, null, 'cp1251');
|
||||
$login = htmlspecialchars($login, null);
|
||||
//
|
||||
$bad = [
|
||||
'Мусорщик' => 1,
|
||||
@@ -594,7 +594,7 @@ if (isset($_POST['do']) && $_POST['do'] == 'newShadow') {
|
||||
} elseif ($u->info['money2'] < 25) {
|
||||
$u->error = 'Недостаточно средств.';
|
||||
} else {
|
||||
$login = htmlspecialchars($_POST['login'], null, 'cp1251');
|
||||
$login = htmlspecialchars($_POST['login'], null);
|
||||
if (is_login($login) == true) {
|
||||
mysql_query(
|
||||
'INSERT INTO `lastnames` ( `uid`,`login`,`newlogin`,`time` ) VALUES (
|
||||
@@ -740,7 +740,7 @@ if (isset($_POST['do']) && $_POST['do'] == 'newShadow') {
|
||||
<title>Покупка ЕвроКредитов - Бойцовский Клуб</title>
|
||||
<!--<link rel=stylesheet type="text/css" href="/i/main.css">-->
|
||||
<script type="text/javascript" src="https://new-combats.com/res/js/jquery-1.7.1.min.js"></script>
|
||||
<meta content="text/html; charset=windows-1251" http-equiv=Content-Type>
|
||||
|
||||
<link href="/res/css/style.css" rel="stylesheet" type="text/css" media="all"/>
|
||||
<META Http-Equiv=Cache-Control Content=no-cache>
|
||||
<meta http-equiv=PRAGMA content=NO-CACHE>
|
||||
|
||||
Reference in New Issue
Block a user