able to "execute" them in order
to get a
directory listing.
Regards,
David
- Original Message -
From: "Jimmy George" <[EMAIL PROTECTED]>
To: "cgi" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 1:02 AM
Subject: real beginners stuff
H
> -Original Message-
> From: Jimmy George [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 3:03 AM
> To: cgi
> Subject: real beginners stuff
>
>
> Hello World
>
> If I logon to the web via (say) server_a and then start this
> script in ser
Try printing the content type before your HERE doc, not within it.
Scot R.
inSite
-Original Message-
From: Jimmy George [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 2:03 AM
To: cgi
Subject: real beginners stuff
Hello World
If I logon to the web via (say) server_a and
Don't have exact idea, but see inline comments :
>
> #! /usr/bin/perl -w
Try #!/usr ... you've added a space there.
use CGI::Carp qw(fatalsToBrowser); # try add this line
[...]
>
> should I get to see the %ENV details of server_a?
Not, but you might check your error.log so you'll get
a bette
Hello World
If I logon to the web via (say) server_a and then start this script in server_b
which has the code in its cgi-bin folder
#! /usr/bin/perl -w
#
use CGI qw(:standard);
#use strict;
#
print <
Server Environment
This server is:
Server Name:$ENV{SERVER