WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Rename or move a file or directory from source to destination
This function attempts to rename or move a file or directory from source to destination, moving it between directories if necessary. Relative paths are supported for both parameters: using a /
at the beginning will make it relative to the root, otherwise it will be relative to the current working directory, which is either the folder that the script was started in or as was set by chdir().
$source: File or directory to be renamed or moved
$destination: The new path and/or name
Integer: 0=success, otherwise error code