Re: [PHP] readfile error

2004-03-02 Thread Ashley
Line 6 is: readfile($dataURL); $dataURL is a link to an xml file. It is a valid file because if I visit the link, I do get the file I am looking for, but reading it into PHP gives the described error message. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] readfile error

2004-03-02 Thread Richard Davey
Hello Ashley, Tuesday, March 2, 2004, 3:26:54 PM, you wrote: A> Warning: php_network_getaddresses: gethostbyname failed in 'insert path A> here' on line 6 A> Warning: A> readfile("http://jurist.law.pitt.edu/paperchase/blogger_rss.xml";) - A> Bad file number in 'insert path here' on line 6 A> Do

[PHP] readfile error

2004-03-02 Thread Ashley
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