<?php
$myf=join('', file('http://www.vlg.aif.ru/culture/art/70744'));
$tfile=join('', file('http://pavelpugachev.ru/tmp/tags_file.txt'));
$article=substr($tfile, 0, 8);
$earticle=substr($tfile, 8, 10);
$pimg=substr($tfile, 18);
$myf1=''.substr_count($myf, $article, 0);
$mybegin=strpos(strtolower($myf), $article, 0);
$myend=strpos(strtolower($myf), $earticle, $mybegin);
$mytxt=substr($myf, $mybegin, $myend-$mybegin);
$mytxt=strip_tags($mytxt, $pimg);
print($mytxt);
?>