Pure PHP Upload 3 Support Product Page
Solved
Pure Upload make unique not working
Reported 17 May 2013 13:35:17
3
have this problem
17 May 2013 13:35:17 Frank Lennon posted:
HelloI have a simple form working with pure upload php 3. When I choose make unique it cahnges the file name no problem but the value that ends up in the database is the original file name.
How do I get the unique name into the db?
Thanks
Replies
Replied 20 May 2013 07:00:43
20 May 2013 07:00:43 Miroslav Zografski replied:
Hello Frank,
In binding panel there is a collection called Upload File(filefiledname)
in that collection there is an entry named fileName.
You need to use that binding in your insert/update server behavior to replace the $_POST['filefield'] entry. This will provide the Unique renamed file name to your database.
Regards.
In binding panel there is a collection called Upload File(filefiledname)
in that collection there is an entry named fileName.
You need to use that binding in your insert/update server behavior to replace the $_POST['filefield'] entry. This will provide the Unique renamed file name to your database.
Regards.
Replied 23 Aug 2013 10:23:04
23 Aug 2013 10:23:04 David Woolley replied:
Thanks a lot for this.
However it does not work if I set the filename to have a UNIQUE index, just to make sure there will be no duplications in my images database. On submission mysql gives an error about duplicate entry. I'm using DMXzone Ajax form with Pure PHP Upload 3.
However it does not work if I set the filename to have a UNIQUE index, just to make sure there will be no duplications in my images database. On submission mysql gives an error about duplicate entry. I'm using DMXzone Ajax form with Pure PHP Upload 3.
Replied 26 Mar 2014 16:22:13
26 Mar 2014 16:22:13 Teodor Kuduschiev replied:
Hello,
The issue is fixed in the latest version of the extension. Please update.
The issue is fixed in the latest version of the extension. Please update.