XUpload - Renamed file variable name in POST

Message
Author
steve30000
Posts: 3
Joined: Nov 08, 2006 10:47 pm

Renamed file variable name in POST

#1 Postby steve30000 » Jan 03, 2007 4:58 pm

If a file already exists, and the file is renamed, is there a different variable name for the filename that is returned in the php POST parameter?

For example, my file name in my form is file1x. Whenever, I read the returned POST variable for file1x, it is always the original file name so it works fine when there is not an existing file. However, if there is an existing file, my followup page is reading the location of the original existing file and not the newly uploaded file.

I'm sure it is just something stupid that I am doing but I cannot seem to find the proper variable.

Thanks.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jan 11, 2007 6:50 am

No such thing in FREE version, but implemented in PRO one.
Example of POST data from XUpload PRO 2.3:

Code: Select all

file_0:05 - What's My Age Again2.mp3
file_0_original:05 - What's My Age Again.mp3
file_0_status:renamed
file_0_size:3565529
file_0_description:great song