is_file

(PHP 3, 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.

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

Opmerking: 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().