Вход Регистрация
Файл: manager3_adm/uvol.php
Строк: 34
<?php
require_once"../../template/start.php";

require_once
"../../template/regglobals.php";

require_once
"../../template/config.php";

require_once
"../../template/functions.php";

require_once
"../../template/antidos.php";

require_once
"../../template/cookies.php";

require_once
"../../template/gzip.php";

require_once
"../../template/header.php";

require_once
"../../template/referer.php";

include_once
"../../themes/$config_themes/index.php";

include_once
"../../template/isset.php";

if(!isset(
$_GET['t']))
{
    echo 
'<form action="sc.php?t=vir&amp;'.SID.'" method="post" name="form">';
    echo 
'��������:<br>';
    echo 
'<input type="text" name="str" value="�����"><br>';
    echo 
'<input type="submit" value="��������"></form>';
}

if(
$_GET['t']=='vir')
{
    if(
strlen($_POST['str']>0))
    {
        
$file file_get_contents("����");
        
$str=htmlspecialchars($_POST['str']);
        
//��� $str=htmlentities($_POST['str']);
        
$file=str_replace($str,"",$file);
        
$zap=fopen("����","w");
        
fputs($zap,$file);
        
fclose($zap);
        
chmod("����"0666);
    }
}

echo
'<br><a href="../../index.php?'.SID.'">На главную</a>';

include_once
"../../themes/$config_themes/foot.php";
?>
Онлайн: 0
Реклама