is_readable()
is_readable - Tells whether a file exists and is readable
Syntax
bool is_readable (
string $filename)
Arguments
- filename - Path to the file.
Description
Tells whether a file exists and is readable.
Version
PHP 4, 5
Return value
Returns TRUE if the file or directory specified by filename exists and is readable, FALSE otherwise.