Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
Bookmark this on Delicious
Share on Facebook
Slashdot It!
Digg
PHP
:
Function Reference
:
Directory Functions
: chroot
chroot
Change the root directory
(
PHP 4 >= 4.0.5, PHP 5
)
bool
chroot
(
string
directory
)
<< chdir
PHP
:
Function Reference
:
Directory Functions
: chroot
dir >>
Code Examples / Notes » chroot
php
PHP needs to be configured with --enable-chroot-func and on my machine only root can use it (user users get "Operation not permitted (errno 1)")
Change Language
chdir
chroot
dir
closedir
getcwd
opendir
readdir
rewinddir
scandir