this seems to work for me (in mozilla 0.9.4/linux and IE5.5/win2k):
#!/usr/bin/perl -w use strict; use CGI qw/:standard /; $| = 1; print header(); print<<ENDHTML; <html><head><title>progress test</title></head> <body> ENDHTML foreach my $i (1..10) { print $i, "<br />\n"; sleep 3; } print "</body></html>"; exit 0;
if you don't include the starting html tags, IE refuses to show anything until it's all done loading. maybe that's your problem?
In reply to Re: CGI progress indicator
by thraxil
in thread CGI progress indicator
by JungleBoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |