Hi ,
is it safe to comment the following code in upload.cgi (latest pro version), because in my edit form none of file fields are mandatory.
#line 227
if($#files==-1)
{
&lmsg("ERROR: No files uploaded");
sleep 2;
&DelData($temp_dir);
&xmessage("ERROR: No files uploaded");
}
Also --
I'm not been able to relate which file uploaded from which input field.
Can i change something in upload.cgi (may be in below code) to include the input field name with other variables.
for my $f (@files)
{
my @file_fields = qw(file_name file_name_orig file_status file_size file_descr file_mime);
print"<textarea name='$_\[]'>$f->{$_}</textarea>" for @file_fields;
}
Please help me to finish the upgrade from free to pro version.