reading a remote file

From: Date: Sat, 22 Sep 2001 05:26:22 +0000
Subject: reading a remote file
Groups: php.windows 
Request: Send a blank email to php-windows+get-9460@lists.php.net to get a copy of this message
I have PHP 4.0.5 installed on Windows 2000 server (IIS5). I used file() function and relative paths to read files located under the same directory on the same web site ( such as file("filename"). The function is working properly. When I tried to file() files located on different web site; using URL; with explicit paths, such as (file(http://domainname/path/filename), I get the fwarning: php_network_getaddresses: gethostbyname failed in mayserver\news\news.php on line 3 Could you help me in that issue. Thanks --------------------------------- Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.

« previous php.windows (#9460) next »