On Tue, 5 Jun 2001, Luinrandir Hernson wrote:
[...]
> print "<font color=\"blue\">-(</font><font color=\"green\">$count</font><font
>color=\"blue\">)-</font>";
> does anyone see why this wouldn't print to my index.htm file
> cause if i can't get this simple code to work, how can i get the
> whole bloody counter program to work.... would someone please
> just give me the freaking answer on how to make this work?!
As Elaine pointed out, it's most likely a problem with the server
configuration. Your error log should be of help.
After that you might find more experts in all things CGI-like if you
subscribe to beginners-cgi (send mail to
[EMAIL PROTECTED] or go to http://learn.perl.org/)
and ask there. :-)
on a sidenote,
print "<font color=\"blue\">-(</font><font color=\"green\">$count</font><font
color=\"blue\">)-</font>";
would be more readable as,
print qq[<font color="blue">-(</font><font color="green">$count</font><font
color="blue">)-</font>];
see, no more nasty escaping. :-) (of course until you need ']' in
the string, in which case you might want to quote with for example
qq!string! or qq{string} ... :-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
more than 100M impressions per day, http://valueclick.com