PHP » GoLang |
login |
register |
about
|
posix_access(PHP 5 >= 5.1.0, PHP 7) posix_access — Determine accessibility of a file Description
bool posix_access
( string
$file
[, int $mode = POSIX_F_OK
] )posix_access() checks the user's permission of a file. Parameters
Return Values
Returns Examples
Example #1 posix_access() example This example will check if the $file is readable and writable, otherwise will print an error message.
<?php Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|