chroot

(PHP 4 >= 4.0.5, PHP 5)

chroot -- Change the root directory

Popis

bool chroot ( string directory )

Changes the root directory of the current process to directory. Vracia TRUE pri �spechu alebe FALSE pri chybe.

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

Poznámka: chroot() requires root privileges.

Poznámka: T�to funkcia nie je implementovan� na platform�ch Windows.