move
move($path,$new_folder_place); - this function is used to move the specified folder
The function accepts parameters as input:
$path – path to the folder to move (string). It can be either absolute or relative (relative to the script folder).
$new_folder_place – path where the folder will be moved (string). It can be either absolute or relative (relative to the script folder).
After testing, the function returns the result of its work to the script :
true – successfully moved the folder (boolean)false – operation failed (boolean)