[thelist] [PHP] Visiting a page in the background?

kasimir-k kasimir.k.lists at gmail.com
Fri May 2 07:49:08 CDT 2008

> kasimir-k wrote:
>> A lot easier is to use file() or file_get_contents()

Christian Heilmann scribeva in 2008-05-02 11:51:
> Most PHP setups will not allow you to open a file on another server 
> though

They don't allow filesystem access, but if fopen wrappers have been 
enabled (which I believe usually is the case) then one can make 
read-only HTTP GET requests with file() and file_get_contents() (and 
fopen() etc.)


More information about the thelist mailing list