$file = file("http://wap.siza.ru/download/index.php?$QUERY_STRING"); $file = @implode("", $file); ...... $begins = strpos($file '<p><small>'); $ends = strpos($file '*****<br/>');
<?php $file = file("http://wap.siza.ru/download/index.php?".$QUERY_STRING); $file = @implode("", $file); // code there $begins = strpos($file, '<p><small>' !== false); $ends = strpos($file, '*****<br/>' !== false); ?>