Вход Регистрация
Файл: servises/kg/kod.php
Строк: 13
<?php
require'../../shaxty.php';
$align='left';
check_login();
$title='Конструктор грабберов';
include_once (
H.'shaxty/head.php');
echo 
'<br />';

if (!empty(
$_POST['site']) and  preg_match('|^[a-z0-9./?-_=+*&;:#@!,]+$|i',$_POST['site'],$out))
{

$site='http://'.preg_replace('|http://|i','',$out[0]);

$text='<?php
$file=file_get_contents(''.$site.'
?'.$_SERVER['QUERY_STRING']);
'
;
for(
$i=1$i<count($_POST); $i++)
{
if (!empty(
$_POST['search_'.$i]))
{
$search=$_POST['search_'.$i];
$replace=$_POST['replace_'.$i];
$text.='$file=str_replace(''.$search.'',''.$replace.'',$file);
'
;
}
}


$text.='echo $file;
?>'
;
$array=explode("rn",$text);
$rows=count($array)+1;
echo
'
Скопируйте код, и вставьте в надлежащий файл!<br/>


<textarea cols="50" rows="'
.$rows.'">
'
.htmlspecialchars(stripslashes($text), ENT_QUOTES).'
</textarea><br />

'
;
}
else
{
echo 
'Адрес сайта пожалуйста!<br/>';
}

echo 
'<br />';
echo 
$div1.'<a href="/servises/">Сервисы</a>'.$div9;
include_once (
H.'shaxty/foot.php');
?>
Онлайн: 0
Реклама