[Xitami] Getting a cgi counter to work
Patrick
xitami@lists.xitami.org
Tue, 13 Nov 2001 00:46:43 -0700
Phillip Jones wrote:
>
> Ok now look at you shebang line if perl is
> set in your PATH you can use
> #! perl -Tw
> use strict;
> use CGI::Carp "fatalsToBrowser";
> print "Context-Type: image/\n\n"; #should be the first
> #thing that gets printed
> 500 is an internal server error and usually
> a syntax error is the cause see if is will run
> from the command prompt
> It runs fine from the command prompt, outputs exacty what it's supposed to,
> but as soon as I call it in the browser
Send me the code if that's ok
do you have cgi-debug turned on