PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dir> <chdir
Last updated: Sun, 25 Nov 2007

view this page in

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 .

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.

Parametre

directory

The new directory

Vrátené hodnoty

Vracia TRUE pri úspechu alebe FALSE pri chybe.

Poznámky

Note: Táto funkcia nie je implementovaná na platformách Windows.



add a note add a note User Contributed Notes
chroot
There are no user contributed notes for this page.

dir> <chdir
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites