cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
Help on renaming uploaded files to a number.
September 18, 2012
9:00 am

I have done my research throughout cforms site and also other sites, but i couln't find a good answer to this.

I have a form where the user downloads a file, edits it and then reuploads it and sends it to me through the cforms. The main problem is the file that the user downloads has the name: file.xls and when he sends it to me, i can see it on the server as file.xls

Now, when another user sends me this file, the new file.xls will overwrite the old file.xls from the previous user.

Is there any way to add something like 01-file.xls then 02-file.xls and so on, so that the files are never overwritten?

If yes, please point me to the right direction, or better yet paste the code if possible because i am not that skilled to write my own code.

Thank you very much for your time, you are doing a great great job!

September 19, 2012
10:15 am

I have tested some things, unfortunately nothing worked. Can anyone just tell me if this is possible or not so i can stop working on it?

October 12, 2012
4:09 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005
Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)