Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 91047 invoked by uid 500); 21 Jan 2003 23:20:42 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 91004 invoked from network); 21 Jan 2003 23:20:41 -0000 Received: from mail15.messagelabs.com (63.210.62.243) by 208.185.179.12.available.above.net with SMTP; 21 Jan 2003 23:20:41 -0000 X-VirusChecked: Checked X-Env-Sender: RDNelson@Mail.Donaldson.com X-Msg-Ref: server-3.tower-15.messagelabs.com!1043191211!19785 Received: (qmail 18389 invoked from network); 21 Jan 2003 23:20:11 -0000 Received: from mail.donaldson.com (162.107.240.193) by server-3.tower-15.messagelabs.com with SMTP; 21 Jan 2003 23:20:11 -0000 Received: by mail.donaldson.com with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jan 2003 17:19:58 -0600 Message-ID: <11864A3328DDD5119DE70002A540D64A02B4C22D@ntblm16.dci.com> From: "Nelson, Robert D." To: "'users@httpd.apache.org'" Date: Tue, 21 Jan 2003 17:18:18 -0600 X-Mailer: Internet Mail Service (5.5.2653.19) X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N Subject: RE: [users@httpd] Basic CGI setup help needed Michael: > complex php/mysql script. I cannot get a simple test.cgi: > ############################################ > #!/usr/bin/perl > print "Content-type: text/html\n\n"; > print "Environment Variables"; > print "

Environment Variables:

"; > print "
\n"; > foreach $evar( keys (%ENV)){ > print "$evar: $ENV{$evar}
"; > } > print "\n"; > ############################################# Hopefully I'm mis-reading your "snip" delimiter but ... you don't actually have all those pounds in the first line, do you? If you did, you'll need to get rid of those because the first line *must* be the shebang for the interpreter to be called correctly. ~ Robert --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org