chroot()
chroot - Change the root directory
Syntax
bool chroot (
string $directory)
Arguments
- directory - The new directory
Description
Changes the root directory of the current process to directory.
Version
PHP 4.0.5, 5
Return value
Returns TRUE on success or FALSE on failure.