header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
$xml=("http://api.flickr.com/services/feeds/photos_public.gne");
$xmlDoc = new DOMDocument();
$xmlDoc->load($xml);
$i=0;
$x=$xmlDoc->getElementsByTagName('entry');
while($i<8)
{
$entry_con=$x->item($i)->getElementsByTagName('content')
->item(0)->childNodes->item(0)->nodeValue;
preg_match_all('/
print $result[0][0];
$i++;
}
No comments:
Post a Comment