Hi, all
I am using simplexml_load_file() function to get the rss and change it to the XML and get the elements.
But i got the error information like below:
failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in
My code is like this:
$zip = 10001;
$url = "http://news.google.com/news?pz=1&ned=us&hl=en&q=".$zip."&output=rss";
$rss = simplexml_load_file($url);
Where is the problem??
Many Thanks.