chroot

(PHP 4 >= 4.0.5, PHP 5)

chroot -- Change the root directory

Description

bool chroot ( string directory)

Changes the root directory of the current process to directory. Returns TRUE on success or FALSE on failure.

This function is only available if your system supports it and you're using the CLI, CGI or Embed SAPI.

Note: chroot() requires root privileges.

Note: This function is not implemented on Windows platforms.


Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples
  Copyright 2004 Evrsoft Developer Network. Privacy policy - Link to Us

Contact Evrsoft