This module contains an interface to those functions defined in the IEEE 1003.1 (POSIX.1) standards document which are not accessible through other means. POSIX.1 for example defined the open(), read(), write() and close() functions, too, which traditionally have been part of PHP 3 for a long time. Some more system specific functions have not been available before, though, and this module tries to remedy this by providing easy access to these functions.
Внимание |
Sensitive data can be retrieved with the POSIX functions, e.g. posix_getpwnam() and friends. None of the POSIX function perform any kind of access checking when safe mode is enabled. It's therefore strongly advised to disable the POSIX extension at all (use --disable-posix in your configure line) if you're operating in such an environment. |
Замечание: Для Windows-платформ это расширение недоступно.
POSIX functions are enabled by default. You can disable POSIX-like functions with --disable-posix.
Перечисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.
Check whether the file exists.
Check whether the file exists and has read permissions.
Check whether the file exists and has write permissions.
Check whether the file exists and has execute permissions.
Block special file
Character special file
FIFO (named pipe) special file
Normal file
Socket
Замечание: These constants are available since PHP 5.1.0. Please also note that some of them may not be available in your system.
The section about Process Control Functions maybe of interest for you.
Пред. | Начало | След. |
zend_version | Уровень выше | posix_access |