readfile Outputs a file Description intreadfile stringfilename booluse_include_path resourcecontext 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. See also fpassthru, file, fopen, include, require, virtual and .