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.
Tipp: URL-t is megadhatsz az állomány név paraméter helyén ha a fopen wrappers szolgáltatás be van kapcsolva. Bővebb információk az fopen() leírásánál olvashatóak arról, milyen módon adhatod meg a fájlneveket, valamint érdemes megtekinteni a M Függelék oldalt a támogatott URL típusok listájának megtekintése gyanánt.
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.
Megjegyzés: A context támogatása a PHP 5.0.0 változattól felfele érhető el. A conext-ek leírását itt találod: CL, Stream Functions Referencia .
See also fpassthru(), file(), fopen(), include(), require(), virtual(), file_get_contents(), and M Függelék.