Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user