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
chroot(directory)
| Parameter | Description |
|---|---|
| directory | Required. Specifies the new root directory |