Reading RSS (Urgent)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
localhost
Forum Commoner
Posts: 43
Joined: Tue Dec 07, 2004 4:52 am
Location: islamabad
Contact:

Reading RSS (Urgent)

Post by localhost »

i am getting following error

fopen(): php_network_getaddresses: gethostbyname failed

the file i am trying to open is

$fp = fopen("http://news.bbc.co.uk/rss/newsonline_wo ... 91.xml","r")
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

urgent and free community help don't go well together...




just have to make sure your server can resolve the hostname...
-> check the dns settings
Post Reply