is_readable
<?php $file_name="permissions.php"; if(is_readable($file_name)) { echo ("The file $file_name is readable.<br />"); } else { echo ("The file $file_name is not readable.<br />"); } ?>