SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Pro version help

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
dsjadoun



Joined: 27 Aug 2008
Posts: 5

PostPosted: Sep 03, 2008 5:45 am    Post subject: Pro version help Reply with quote

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
View user's profile Send private message
dsjadoun



Joined: 27 Aug 2008
Posts: 5

PostPosted: Sep 12, 2008 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
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