Advanced Multi Uploader Support Product Page

File upload unique name problem

Asked 20 Mar 2013 22:09:29
have this question
20 Mar 2013 22:09:29 Colin Whitehead posted:
I am using Multi Uploader with Pure PHP Upload 2 and Smart Image Processor PHP 2.

When an image file with the same name is uploaded a unique name is created but the original name is saved in the database.

How can I save the new name ceated by the extension in the new record?


Replied 21 Mar 2013 09:07:36
21 Mar 2013 09:07:36 Miroslav Zografski replied:
Hello Colin,

Which Field you use to populate the database with the image file name - there are two available fields: Filename and Filedata. Please, if you are using the Filename on switch to Filedata and try with it.

Replied 24 Mar 2014 17:52:45
24 Mar 2014 17:52:45 Andrew Gray replied:
Is there a workaround for this issue similar to the workaround for the same problem in Upload 3.

Saving to database using either filename or filedata does not create unique filenames in the database as it does in the folder!

Replied 24 Mar 2014 17:54:55
24 Mar 2014 17:54:55 Teodor Kuduschiev replied:
Hello Andrew,
This issue will be fixed in the upcoming update of Pure PHP Upload 3 this Wednesday.

Reply to this topic