Moves an uploaded file to a new location
move_uploaded_file ( string $filename , string $destination ) : bool
The filename of the uploaded file.
The destination of the moved file.
Returns TRUE on success. If filename is not a valid upload file, then no action will occur, and move_uploaded_file() will return FALSE. If filename is a valid upload file, but cannot be moved for some reason, no action will occur, and move_uploaded_file() will return FALSE. Additionally, a warning will be issued.