Código :
$env=mysql_query("select algo from tabla order by id desc") ;
while ($row=mysql_fetch_row($env)){
$rss="http://www.fotolog.com/$row[0]/feed/main/rss20";
$rss=join("",file(&$rss));
$rss=str_replace(array("\n","\r"),"",$rss);
preg_match("#<title><\!\[CDATA\[(.*?)\]\]><\/title>#",$rss,$titulo);
preg_match_all("#<media:thumbnail url=\"(.*?)\" height=\"75\" width=\"100\" \/>#",$rss,$img_t);
preg_match_all("#<media:content url=\"(.*?)\"(.+?)>#",$rss,$img_f);
$title=$titulo['1'];
echo"<table height='119px' width='770px'><tr><td width='50%'>
<a href=''>$title</a><br /><br />$row[0]</td>";
echo"<td width=40% align=right>";
for($i=0;$i<=count($img_t['1']) - 4;$i++) {
echo '<img src='.$img_t['1'][$i].'>';
}
echo '</td></tr></table><br />';
}quiero q me muestre la info d los fotolog insertados en la db. El, mejor dicho los problemas son..
Fatal error: Maximum execution time of 30 seconds exceeded in on line 64
es la linea $rss=join("",file(&$rss));
Warning: file(http://www.fotolog.com//feed/main/rss20) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in on line 64
Warning: join() [function.join]: Bad arguments. in on line 64
No entiendo cual es el problema
