March 2002
Intermediate to advanced
528 pages
21h 29m
English
readfile
int readfile(stringpath[, boolinclude])
Reads the file at path 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.