readfile Outputs a file &reftitle.description; intreadfile stringfilename booluse_include_pathfalse resourcecontext Reads a file and writes it to the output buffer. &reftitle.parameters; filename The filename being read. use_include_path 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. context A context stream resource. &reftitle.returnvalues; 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. &reftitle.examples; Forcing a download using <function>readfile</function> ]]> &example.outputs.similar; Open / Save dialogue &reftitle.notes; &tip.fopen-wrapper; ¬e.context-support; &reftitle.seealso; fpassthru file fopen include require virtual file_get_contents