Forums

PHP

This topic is locked

php upload - unique

Posted 31 Mar 2005 17:13:59
1
has voted
31 Mar 2005 17:13:59 Andrew Webb posted:
Hello,

I have added a image filename to a database, and created a hidden form with a timestamp, im currently using php upload to add the file to the remote folder, however it uses the same file name ('example.gif') is there any way ('simple please' to make php upload to rename the file as it is uploading to the unique timestamp??

Andy

Replies

Replied 31 Mar 2005 20:19:16
31 Mar 2005 20:19:16 Chris Charlton replied:
1.) Please don't double post.

2.) We ask that all extension related questions/posts be posted in the extensions' own forum, please. PurePHP Upload online tutorials: www.dmxzone.com/ShowDetail.asp?NewsId=4523

<b>Answer</b>
There a dropdown box that defaults to "Overwrite", it's the "filename conflict" dropdown. Change that to what will serve you better. That's really the only option without modifying the code by hand to do your will. Please post that request in the extensions' forum, I'd love to see that feature. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>

Reply to this topic