i am a little stuck here.
I want to be able to move a file that has already been uploaded to another folder.
a user uploads and it goes to a temp folder called "upload_temp/image.jpg" now i would like to move it to "resources/user_images/profile/image.jpg"
i have tried the obvious of rename() but this for some reason is not working.
What other options are available?