is_file

(PHP 3, PHP 4 , PHP 5)

is_file -- Prüft, ob der Dateiname eine reguläre Datei ist

Beschreibung

bool is_file ( string filename)

Gibt TRUE zurück, wenn die Datei existiert und eine reguläre Datei ist.

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

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

Siehe auch is_dir() und is_link().