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.