[PHP] Re: fopen does not open URL-files

2003-12-20 Thread Taras V. Panchenko
I tried, but I receive the new error: Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/manageme/public_html/try-test/fopen-test-http.php on line 7 Warning: fopen(http://www.management.kiev.ua/MO/main.php/): failed to open stream: Permission denie

[PHP] Re: fopen does not open URL-files

2003-12-18 Thread Eric Bolikowski
"Taras Panchenko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have 2 questions: > 1) why gethostbyname() does not resolve my host name into IP? > 2) why fopen() (and file()) does not open an external (URL) file via http? > Please, see my example below: > -- > ht