PHP function is_readable()
Availability in PHP 4.0
Tells whether a file exists and is readable
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$filename |
string |
not | Path to the file. |
Return values
bool
true if the file or directory specified by filename exists and is readable, false otherwise.