$where="";
$a=0;
while ($a
$file[$a]=chop ($file[$a]);
if ($file[$a]=="") {
$where=$a;
break 1;
}
$a ;
}
$file=file('http://www.php.net');
$a=$where 1;
$b=0;
while ($b
if (substr($file[$a],0,4)=="
" & substr($file[$a],-6,5)=="
" | substr($file[$a],0,4)=="
" & substr($file[$a],-7,5)=="
") {
$from=$to;
$to=$a;
}
if ($to==$a & $from!="") {
$c=$from;
if ($b==$opened) {
while ($c
if (substr($file[$c],0,9)=="
}
$file[$c]=eregi_replace("src="","src="http://www.php.net/",$file[$c]);
$file[$c]=eregi_replace("href="","href="http://www.php.net/",$file[$c]);
$file[$c]=eregi_replace("