Can you try : readfile("http://ip.address.here/paperchase/blogger_rss.xml") ?
I don't know the cause, but I think replacing the host name with it's IP address would work... "Ashley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I posted this on Novell's PHP forum, but I have not gotten a response. > Hopefully, someone here can help me. > > <-- > I was using the readfile function on a server that was running Apache > 1.3.2, PHP 4.2.3 (PHP for Netware) and then switched to a different > server running Apache 2.0.48, PHP 4.2.3 (PHP for Netware) > > It was working just fine before I moved the file to the new server. Now > I get the following error message: > > Warning: php_network_getaddresses: gethostbyname failed in 'insert path > here' on line 6 > > Warning: > readfile("http://jurist.law.pitt.edu/paperchase/blogger_rss.xml") - Bad > file number in 'insert path here' on line 6 > > > Does anyone have any suggestions as to what is different or could be > causing this problem? > I have looked through the php.ini files and cannot determine anything > that could cause this. > > Thanks in advance, > Ashley > > --> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php