Thanks for the effort in helping me out on this! I have found many javascripts that output the progress bar, but the main problem remains: itīs not an actual progress bar. And the upload speed depends on too many elements for me to set up the speed of the blind journey to the 100%.
The solution, as you already pointed, might be to use a upload hook, from CGI.pm or from Apache::Request. But the thing is that I just canīt understand the syntax:
$q = CGI->new(\&hook);
sub hook {
my ($filename, $buffer, $bytes_read, $data) = @_;
print "Read $bytes_read bytes of
$filename\n";
}
(CGI.pm's upload hook.) Can anyone help me out on this? Wich variables should I replace here? Shall I put this on the same script where I do the upload routine?
my $fh = $q->upload( "tabela" );
Thanks!
André
In reply to Scripts Structure still a mystery
by Andre_br
in thread Upload Progress Bar
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |