I have an upload script which works fine, but what I am looking to do now is to have the script first check to see if the file exists... I know i could either check the name against the database or use the is_file() function.
What I want to do is if the file exists then require the user to either overwrite the file or change the name of the file...
I am not sure how to go about this... I know with javaScript i could use alert boxes to direct to php...
Or have php open a new window... then overwrite or change...
Any thoughts....
Thanks,