Its syntax is: bool is_readable (string filename)$filename="data.txt";if ( is_readable($filename) ) : $fh = fopen($filename, "r");else : print "$filename Is not readable!";endif;?>