Developer Forums | Newsletter Signup | About Us | developerworks Latest | Site Map
Search  
HOME > PHPMANUAL


Sponsors






Web Host
site hosted by netplex

Online Manuals

chroot

(PHP 4 >= 4.0.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: This function is not implemented on Windows platforms.

Copyright 2004-2008 GrindingGears.com. All rights reserved. Site hosted by NETPLEX