gzfile problems
Posted: Sun Sep 11, 2005 10:14 am
Hi there,
I'm trying to read various URLs using gzfile(), and one of them is http://www.phpmyadmin.net/ which to nobody's surprise works fine from my browser. However, when using gzfile() I get the following error:
Warning: gzfile(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Incidentally, the native fopen() and similar functions read the URL fine, it's only ZLib functions. I was wondering if anyone knew how I can fix this.
I'm trying to read various URLs using gzfile(), and one of them is http://www.phpmyadmin.net/ which to nobody's surprise works fine from my browser. However, when using gzfile() I get the following error:
Warning: gzfile(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Incidentally, the native fopen() and similar functions read the URL fine, it's only ZLib functions. I was wondering if anyone knew how I can fix this.