http://x.05dag.ru/muzka
Как исправить ето?
Сам код
<?php
$file = file_get_contents("http://4mas.ru/library/index.php?".$_SERVER['QUERY_STRING']);
$file = preg_replace('/<?xml(.*?)<div class=\"maintxt\">/si','',$file);
$file = preg_replace('#(</div><div class="down_name">)(.*)</html>#isU','', $file);
$file = str_replace('</b><a href="', '</b><a href="http://4mas.ru/library', $file);
echo $file;
?>