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.
XUpload - Renamed file variable name in POST
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
No such thing in FREE version, but implemented in PRO one.
Example of POST data from XUpload PRO 2.3:
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