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.
Õðüäåéîç: Μπορείτε να χρησιμοποιήσετε ένα URL σαν ένα όνομα αρχείου με αυτή τη συνάρτηση αν τα fopen wrappers έχουν ενεργοποιηθεί. Δείτε την fopen() για πιο πολλές λεπτομέρειες στο πώς να ορίσετε το όνομα του αρχείου και για ένα ÐáñÜñôçìá M κατάλογο των υποστηριζόμενων URL προτοκόλλων.
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 support was added with PHP 5.0.0. For a description of contexts, refer to ÁíáöïñÜ CXLVIII, Stream Functions.
See also fpassthru(), file(), fopen(), include(), require(), virtual(), file_get_contents(), and ÐáñÜñôçìá M.