×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

PHP example - How to change the root directory?


PHP - How to change the root directory?

There is a special function for this in PHP called chroot.

The syntax of this function is as follows:
int chroot (string strNewDirectory)

Be aware that if the directory change was not successful chroot will return false.

Category: PHP

 
<< Go back