Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.

This commit is contained in:
2023-01-10 19:26:14 +02:00
parent 008f36c094
commit b3810d2349
147 changed files with 267 additions and 1295 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ if (isset($_GET['delcop'])) {
//сохраняем комплект
if (isset($_POST['compname'])) {
$_POST['compname'] = htmlspecialchars($_POST['compname'], null, 'cp1251');
$_POST['compname'] = htmlspecialchars($_POST['compname'], null);
$_POST['compname'] = str_replace("'", '', $_POST['compname']);
$_POST['compname'] = str_replace('"', '', $_POST['compname']);
$ptst = str_replace(' ', '', $_POST['compname']);