Change the current directory:
Result:
The chdir() function changes the current directory.
Parameter | Description |
---|---|
directory | Required. Specifies the new current directory |
Return Value: | TRUE on success. FALSE on failure. Throws an error of level E_WARNING on failure |
---|---|
PHP Version: | 4.0+ |