Просмотр поста

.
Chornuy

Вот весь код граббера.... Без лишнего хлама. <?php
$file=file_get_contents('http://wwap.ws?'.$_SERVER['QUERY_STRING']);

$file=str_replace('<link rel="stylesheet" type="text/css" href="/style.css"/>','',$file);
$file=str_replace('<title>WWAP.WS</title>','',$file);
$file=preg_replace('|<div class="titus">(.*?)</div>|is','',$file);
$file=preg_replace('|<div class="navi2">(.*?)</div>|is','',$file);
$file=str_replace('<div class="sss">','',$file);

$file=str_replace('<img src="../images/home.gif" alt="" />','',$file);
$file=str_replace('<a href="http://wwap.ws">На главную</a></div>','',$file);

$file=preg_replace('|<div class="ttt">(.*?)</div>|is','',$file);


echo $file;
?>