...
methodName | Description | Example | ||||||
---|---|---|---|---|---|---|---|---|
chmod($filename, $mode) | This function can be used to change file permissions on a *nix system. Expected parameters:
| The call of 'chmod('/var/www/index.php,777);' grants read, write and execute rights. | ||||||
copy($filename, $destination) | This function copies a file to a given location. Existing files will be overwritten Expected parameters:
Returns: boolThe call of ' |
The call of the method above copies the index.php file to the index2.php file. | ||||||