Re: restrictions on file_get_contents()

From: Date: Tue, 02 Aug 2005 22:57:24 +0000
Subject: Re: restrictions on file_get_contents()
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26256@lists.php.net to get a copy of this message
Working it off on another webhost revealed the error: Temporary error in name resolution. Apparently file_get_contents("http://www.offsiteserver.com") didn't work but file_get_contents("http://XXX.XXX.XXX.XXX") did. On 8/3/05, Irvin Piraman <ippiraman@gmail.com> wrote: > > > Hello! > > I have a script that uses file_get_contents() to pull off an .html page on > two different remote servers. > This was working perfectly before, but now file_get_contents() returns > false when pulling off the page > from one of the sites, but successfully returns the contents from the > other site. But when I manually > check if the page exists - it does. > > Reading through the PHP Manual, I couldn't find any hints if a remote site > can explicitly deny the > file_get_contents() request. Is this restriction possible? Any help > please. > > Thanks in advance. > > -- > Irvin > http://netgarage.ne1.net -- Irvin http://netgarage.ne1.net

« previous php.windows (#26256) next »