int fileperms ( string $filename )
Gets permissions for the given file.
Returns the file's permissions as a numeric mode of the same format as that expected by chmod(), or FALSE on failure.