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

View File

@@ -44,16 +44,10 @@ if(isset($_GET['delcop'])) {
}
}
/*
$u->add_buf('',0);
echo time();
$u->add_buf('',1,$u->info['id'],'inv');
*/
//сохраняем комплект
if(isset($_POST['compname']))
{
$_POST['compname'] = htmlspecialchars($_POST['compname'],NULL,'cp1251');
$_POST['compname'] = htmlspecialchars($_POST['compname']);
$_POST['compname'] = str_replace("'",'',$_POST['compname']);
$_POST['compname'] = str_replace('"','',$_POST['compname']);
$ptst = str_replace(' ','',$_POST['compname']);