Complete PHP Directory Reference
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.
| Parameter | Description |
|---|---|
| directory | Required. Specifies the new root directory |
Note: This function does not work on Windows platforms.
Complete PHP Directory Reference
Your message has been sent to W3Schools.