> > this is the command line from my index.htm file
> > <!-- #exec cmd="/home/thx-1138/counter-.cgi" -->
> > 
> > I've made this so darn simple it should work.
> > this is the perl program in my cgi-bin:
> > 
> > #!/usr/bin/perl -w
> > use strict;
> > use diagnostics;
> > my $count;
> > $count = "12345";
> > print "<font color=\"blue\">-(</font><font 
> > color=\"green\">$count</font><font color=\"blue\">)-</font>";
> > exit;
--- Peter Cornelius <[EMAIL PROTECTED]> wrote:
> Umm.  Don't you need an http header?  
> print "content type: text/html\n\n";
>  before printing anything else out.  CGI.pm would allow you to just
> say
> 'print header();' btw.

I thought of that, but it is being executed from an html doc, not a
perl script.  So now, I wonder, where is this being placed w/in the
html doc?  If it's w/in the body, then the header is already there.

I also am not too knowledgable on SSI.  Therefore, I wonder when does
the SSI parse?  Before the doc is sent to the client?  If so, this
might be an issue.  Like I said, I'm not sure about SSI.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to