Forum und email

is_file

(PHP 4, PHP 5)

is_file — Zegt of een bestandsnaam een bestand is

Beschrijving

bool is_file ( string $filename )

Geeft TRUE terug als de bestandsnaam bestaat en een bestand is.

Note: The results of this function are cached. See clearstatcache() for more details.

Note: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.

Zie ook is_dir() en is_link().