Hi, I have an admin who is uploading lots of files for lots of different clients. All of the uploaded files are in the same folder, but when my admin uploads files, he only sees the files for the current client. For instance, lets say Sally Jones has a file called superReport.pdf. Well, if we updated Jim Johnson and wanted to upload superReport.pdf to him as well, it would overwrite the report Sally had. So I need to check to see if $filename exists, and then ask the client if they want to overwrite. Maybe I could even mention whose file it is? All the file names are indexed in the database...
thanks!