is_readable (PHP 3, PHP 4 ) is_readable -- Prüft, ob eine Datei lesbar ist Beschreibungbool is_readable ( string filename)
Gibt TRUE zurück wenn die Datei existiert und lesbar ist.
Bedenken Sie, dass PHP mit der Benutzer ID auf die Datei
zugreift, unter welcher der Webserver läuft (oftmals ist dieses
'nobody'). Beschränkungen durch safe_mode werden nicht
berücksichtigt.
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_writable(),
file_exists() und
fgets().
|