title: What function should i use to move a file with php?
body: <p>I am uploading a file and saving it in a directory but the problem is : a file could be approved or denied , when it's denied it should be deleted from the directory(folder) this part is done , but when it's approved what should i use to move it to another directory , rename() or move_uploaded_file() and how to choose the path , should it be the name of the new folder(uploads/) or a specific path like (c:/xampp....).
  Thanks for the help.</p>