in reply to Apache+cgi problem
You're not printing a header:
#!/usr/bin/perl -wT use strict; use CGI qw/ :standard /; my $stats = 'statistics.txt'; open IN_RESULT,"< $stats" or die "Cannot open $stats for reading: $!"; my @in_result = <IN_RESULT>; close (IN_RESULT); my @armyImages = ( '"images/icon_army_dwarf.gif"', '"images/icon_army_empire.gif"', '"images/icon_army_lizard.gif"', '"images/icon_army_orcs.gif"', '"images/icon_army_skaven.gif"' ); print header; print <<WEB_PAGE; . . .
Note that I added the "standard" stuff and made a change or two.
I have to admit, from the names of your images, I'm very curious to see what you're putting together :)
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Ovid) Re: Apache+cgi problem
by Dog and Pony (Priest) on Feb 16, 2002 at 15:38 UTC | |
by Ovid (Cardinal) on Feb 16, 2002 at 17:10 UTC | |
by gellyfish (Monsignor) on Feb 16, 2002 at 18:36 UTC | |
|
Re: (Ovid) Re: Apache+cgi problem
by RuneK (Sexton) on Feb 16, 2002 at 15:58 UTC |