[COLOR=DarkOliveGreen][B]grabbing an xml file (url) to use locally, seems to fail?
hi,
i’m trying to grab an xml file [url]http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xml
on my locahost either of the lines below work, np.
when i upload to my hosted site, they don’t!
the browser seems to take slightly longer and it [i]looks
any ideas?
i.e. are there better methods than copy() or fopen() for this job?
cheers,
bill
// copy()
if (!$result = @copy(“
echo (“<br />unable to get file, exiting…<br />”);
// fopen()
$fp=@fopen(“
if (!$fp) echo (“unable to open stream”);