Also forgot to mention that when I test the page and click submit, the page stalls and does nothing but keep ticking over indicating that it is processing. I am testing locally, and it shouldn't take anything more than a second for this process to happen.
It's basically happening when I try to upload a file that is of the same name as one that already exists in the upload folder.
I have granted access to the folders for the apache server etc to allow it to write files to the directory.
Any thoughts?
Mat