[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Script/IP



Yup, $ENV{'REMOTE_ADDR'} works, thanks.


- Mike


On Sat, 11 Jan 2003, Alfredo Musse T. wrote:

> Mike,
> 
> I read somewhere that raqs don't output REMOTE_HOST and use the equivalent
> $ENV{'REMOTE_ADDR'}
> I use this script on my raq and I can't see the REMOTE_HOST variable
> 
> ---------------
> 
> #!/usr/bin/perl
> 
> print "Content-type:text/html\n\n";
> 
> foreach $key (sort(keys %ENV)) {
> 	print "$key = $ENV{$key}<br>\n";
> }
> 
> ---------------
> 
> 
> Alfredo Musse T.
> media improvement - solutions for the digital world
> Telf. (511)562-0216
> amusse@xxxxxxxxxxx <mailto:amusse@xxxxxxxxxxx>
> http://www.mediaim.com
> 
> 
> 
> 
> -----Mensaje original-----
> De: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]En nombre de Mike's List
> Enviado el: Sabado, 11 de Enero de 2003 06:13 p.m.
> Para: cobalt-users@xxxxxxxxxxxxxxx
> Asunto: [cobalt-users] Script/IP
> 
> 
> I used the below on one of my signup form (perl).  The below grab
> the host/IP of the signee.  It works on other server (Solaris) but
> not this particular server/cobalt (Linux).  Has it been change or
> I'm missing something some sort of parameter/s?
> 
> $env{'REMOTE_HOST'}
> 
> Thanks.
> 
> 
> - Mike
> 
> 
>  "Those willing to give up a little liberty for a little security
>   deserve neither security nor liberty."
>                                              -- Benjamin Franklin
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>