Hi there,
I have a problem in detecting any kind of environment
variables.
I always get a premature script error , when I launch sth like
this.
#!C:/Perl/bin/perl.exe -w
use diagnostics;
use strict;
use CGI;
$browser = $ENV{'HTTP_USER_AGENT'};
if ($browser =~ /Mozilla/) {
#
# Netscape
#
} else {
#
# Non Netscape
#
}
I run a apache 1.3.22 with activ perl build518
what else do I have to say?
I have no Idea...
in my apache cgi is set up and i can run basic scripts from the
prompt.
who knows what I have to do?
cheers.
bernd
______________________________________________________
Beginnen Sie das neue Jahr gut informiert: Zeitschriften-Abos zum Sparpreis!
http://www.lycos.de/webguides/entertainment/weihnachten/abo.html
250 Farb-Visitenkarten GRATIS*. In einem Wert von EUR 99,00!
http://www.vistaprint.de/vp/splash/lycosde.asp
Jetzt eigene Domains f�r 1,23 Euro/Monat
http://lycos.de.domainnames.com/default.asp?caller=lycos_d_footer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]