|
PHP5中文手册
posix_access(PHP 5 >= 5.1.0) posix_access — Determine accessibility of a file 说明
bool posix_access
( string $file
[, int $mode
] )
posix_access() checks the user's permission of a file. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 posix_access() example This example will check if the $file is readable and writable, otherwise will print an error message.
<?php 注释
|