Hi!
I use the Tiny Upload template and all works fine, but if I select a file, that is too big, the upload progress bar doesn't start, and after a while (up to 30 minutes), I get the error message, that the file is to big.
Maybe, reason for that is that I POST the data to a custom php file??
What I want is, that I get this error message immediately after the upload starts.
any ideas?
tommy
XUpload - max filesize error message
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
XUpload 3?
In upload_status.cgi find line
and replace it with
Should help.
In upload_status.cgi find line
Code: Select all
my $percent = sprintf("%.1f",100*$current/$total);
Code: Select all
my $percent = sprintf("%.1f",100*$current/$total) if $total>0;