XUpload - pass the original files field name

Posts: 7
Joined: Jul 01, 2008 3:58 am

pass the original files field name

#1 Postby Buyaphoto » Feb 06, 2009 1:36 am

I using xupload pro 3 and have a form that has multiple file uploads but with different field names.
<input type="file" name="bird_01">
<input type="file" name="bird_02">
<input type="file" name="cat_01">

I have tried adding field_name to my @file_fields = qw(field_name file_name file_name_orig file_status file_size file_descr file_mime); at line 409 of upload.cgi but it only gives me file_0, file_1, file_2 what I need to get is bird_01, bird_02, cat_01

Any help would be greatly appreciated.

Return to “XUpload”