Source Code:
(back to article)
<?php $file = '/path/to/file'; if (is_readable($file)) { echo 'The file is readable'; } else { echo 'The file is not readable'; }
Result:
Report an issue