I am looking for good examples for file uploading. I have a hosted site that I need to do two things. On one portion I need to upload images and store the locations in MySQL. On the second I need to upload powerpoint presentations and store the locations in MySQL. I need to be able to rename the files.
I have found several kinds of ideas...but I am curious what you all have found to be the safest and fool proof (because I do not have full permissions on the server) methods. Should I try copy() or something else?
Thanks for the help and advice.