ok i get what your saying and sorry for not being more clear but you know coding... :)
I dont want to rename the 'if file exists' part of DFP2.... I want the uploaded file to be renamed to a incrementing number as it is uploaded, before it is added to the DB, before it is made into a thumb and what not....
If that happens I will NEVER have a duplicate file.... the thumbs will be
t_[Incrementing#] the original will be the SAME [Incrementing#] without the t_
If I can get the filename unique before the DB that saves me one extra step....
I experimented with the [FileName] spot and changed it to [Increment] but that doesnt work....
How do I Rename the file on upload to a 'unique incrementing id' and then add a 't_' in front of it to designate a thumb.... all before the DB is even touched?