(PHP 4 >= 4.0.5, PHP 5)
Changes the root directory of the current process to directory.
directory
This function is only available if your system supports it and you're using the CLI, CGI or Embed SAPI. Also, this function requires root privileges.
The new directory
Returns TRUE on success or FALSE on failure.
Note: This function is not implemented on Windows platforms.
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.