February 2013
Intermediate to advanced
538 pages
20h 55m
English
readfile
int readfile(stringpath[, boolinclude[, resourcecontext]])
Reads the file at path, in the
streams context context if provided, and
outputs the contents. If include is
specified and is TRUE, the include
path is searched for the file. If path
begins with http://, an HTTP
connection is opened and the file is read from it. If
path begins with ftp://, an FTP connection is opened and the
file is read from it; the remote server must support passive
FTP.
This function returns the number of bytes output.
Read now
Unlock full access