PHP chroot() Function
Complete PHP Directory Reference
Definition and Usage
The chroot() function changes the root directory of the current process to
the specified directory.
This function returns TRUE on success and FALSE on
failure.
Syntax
| Parameter |
Description |
| directory |
Required. Specifies the new root directory |
Tips and Notes
Note: This function does not work on Windows platforms.
Complete PHP Directory Reference
|