RE: Environment Variables help

2002-03-02 Thread Naika - EV1
rom: Lisa Nyman [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 02, 2002 8:51 PM To: Naika - EV1 Cc: Perl-CGI Beginners Subject: Re: Environment Variables help Hi, On Sat, 2 Mar 2002, Naika - EV1 wrote: > $user = "$ENV{'REMOTE_USER'}"; > ### Not working Note that this

Re: Environment Variables help

2002-03-02 Thread Lisa Nyman
Hi, On Sat, 2 Mar 2002, Naika - EV1 wrote: > $user = "$ENV{'REMOTE_USER'}"; > ### Not working Note that this is only set for authenticated pages. You didn't mention if your script autheticates or not. Also, you don't need to cross post to both beginners lists. It's best if you pick the m

Environment Variables help

2002-03-02 Thread Naika - EV1
Can anyone help with this? On a script that is writing to a file I'm able to get some of the variables but not others. Why? $ipaddress = "$ENV{'REMOTE_ADDR'}"; ## Works Fine $where_from = "$ENV{'HTTP_REFERER'}"; ## only seems to report the current page being viewed $host = "$ENV{'REMO