| View previous topic :: View next topic |
| Author |
Message |
dsjadoun
Joined: 27 Aug 2008 Posts: 5
|
Posted: Sep 03, 2008 5:45 am Post subject: Pro version help |
|
|
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. |
|
| Back to top |
|
 |
dsjadoun
Joined: 27 Aug 2008 Posts: 5
|
Posted: Sep 12, 2008 7:16 pm Post subject: |
|
|
I'm not sure why i was not given a single reply?
Anyways i made it working using a Java Script workaround to identify which file is uploaded from which input field. Also commented the line in upload.cgi that ask for at least one file to be uploaded.
Thanks Anyways.
Dharmendra |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|