Re: remote fopen not working, despite allow_url_fopen = on

From: Date: Thu, 15 Feb 2007 15:00:44 +0000
Subject: Re: remote fopen not working, despite allow_url_fopen = on
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-248904@lists.php.net to get a copy of this message
On 2/15/07, cajbecu <cajbecu@gmail.com> wrote:
Hello Aras! my /etc/resolv.conf is ok - a "host google.com" works and i can reach google.com with lynx. There are no firewall or dns issues on the server. try: var_dump(file('http://ip_google/')); replace ip_google with google`s main ip. cajb.
Hi cajb, I tried that before but, it doesn't even work with 127.0.0.1 or localhost. Got this Error: [Thu Feb 15 14:19:47 2007] [error] [client xxx] PHP Warning: file( http://72.14.207.99/) [<a href='function.file'>function.file</a>]: failed to open stream: HTTP request failed! in /home/domains/x/xxx/tmp/remote.php on line 2 Alex

« previous php.general (#248904) next »