FILE Methods
Reading and writing
directory(), collect(), read(), write()File operations
remote(), output(), download(), version()
remote()
Read content of remote file. The function uses PHP CURL to read the file.
string remote( string url )
Return
File content.
Parameter
Description
urlURL of file to be read.
Read remote file
$FILE->remote("http://developer.opus9.org/data/public/remote.txt")
RETURN: 'test content'