Search DaTutorials:  
HOME
Php Tutorials
Articles
Basics
Date and Time
File Manipulations
Forms
Functions
General
Interactivity
MySql
Navigation
News,Shoutboxes and Blogs
Language Structure and Data Types
Searching
Security
String Manipulation
User Information and Stats
Search For a Tutorial
Php Reference

chroot

(PHP 4 >= 4.0.5, PHP 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: chroot() requires root privileges.

Note: This function is not implemented on Windows platforms.



Copyright © 2001-2004 The PHP Group
All rights reserved.

     Loans | Online Advertising | Home Loans | Sexy Dress | Homeowner Loan
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp