Dazu heißt es auf php.net:Thies hat geschrieben:Das mit file_exists ist gut, nur prüfe ich ein Verzeichnis und keine Datei. Ich wollte auch zunächst nur prüfen, ob die Pfad-Angabe von der Syntax her stimmen kann (und mich mit RegExpr. etwas beschäftigen)
Gruß, Philippbigi at agum dot com hat geschrieben:just to clarify, this also checks if a directory exists.
(just pointing this out, because of the function name)