readfileOutputs a fileDescriptionintreadfilestringfilenamebooluse_include_pathresourcecontext
Reads a file and writes it to the output buffer.
Returns the number of bytes read from the file. If an error
occurs, &false; is returned and unless the function was called as
@readfile, an error message is printed.
&tip.fopen-wrapper;
You can use the optional second parameter and set it to &true;, if
you want to search for the file in the include_path, too.
¬e.context-support;
See also fpassthru,
file, fopen,
include, require,
virtual, file_get_contents,
and .