я тут нашел скрипт... который тоже работает... причем отменно и просто:
=====================
$url = "http:// URL TO GRAB";
$unique_start = "Unique html code to start grabbing";
$unique_end = "Unique html code to end grabbing";
ini_set(\'max_execution_time\', \'0\');
flush ();
$fd= fread(fopen("$url", "r"), 100000);
if ($fd)
{
$start= strpos($fd, "$unique_start");
$finish= strpos($fd, "$unique_end");
$length= $finish-$start;
$code=Substr($fd, $start, $length);
}
// $code = preg_replace("new code", "old code", $code);
// uncomment the above line to edit the output
echo $code;
flush ();
?>
====================
вот только у меня вопрос... можно ли его модифицировать, чтобы он выдирал ВСЕ удовлетворяющие условиям кусочки, а не брал только первый подходящий кусочек и завершал свою работу...