Просмотр поста #14847: Мануал по написанию грабберов!

.
NewDag

Как тут ноги вырезать не как не получается
<?php


$file = file_get_contents("http://v.05dag.ru/aska/index.php?".$_SERVER['QUERY_STRING']);
$file=preg_replace('/<?xml(.*?)<div class=\"maintxt\">/si','',$file);

$file=preg_replace('/<\/div><small>(.*?)<\/html>/si','',$file);

$file = str_replace('</b><a href="', '</b><a href="http://v.05dag.ru/aska', $file);

echo $file;

?>