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.
This function does not work on Windows platforms.
This function returns TRUE on success and FALSE on failure.
Syntax
chroot(directory)This function does not work on Windows platforms.