ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/web/cgi-bin/logviewer.cgi
(Generate patch)

Comparing web/cgi-bin/logviewer.cgi (file contents):
Revision 1.1 by pjm2, Fri May 25 17:58:28 2001 UTC vs.
Revision 1.2 by pjm2, Fri May 25 18:02:15 2001 UTC

# Line 12 | Line 12 | print "Content-type: text/html\n\n";
12  
13   print '<html><body><table border="1">';
14  
15 + $download_count = 0;
16 +
17   open(FILE, "<download_log");
18   while($line = <FILE>) {
19      @row = split(/\|/, $line);
# Line 25 | Line 27 | while($line = <FILE>) {
27    <td>$row[5]</td>
28   </tr>
29   EOT
30 +    $download_count++;
31   }
32  
33 < print "</table></body></html>";
33 > print "</table>Download count: $download_count</body></html>";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines