emilybartholomew
Technical User
Hi-
I want to be able to get the domain of the ip requesting infomration from my webpage. Basically I want to show one thing if it's a .gov domain, and another if it's anything else. I've been able to obtain the ip number address with
my $ip = $ENV{'REMOTE_ADDR'};
Is there a way to resolve this and get the information I'm interested in? Reading through post here I found a little information on Net:
NS, but am not smart enough to figure it out.
Thanks-
emily
I want to be able to get the domain of the ip requesting infomration from my webpage. Basically I want to show one thing if it's a .gov domain, and another if it's anything else. I've been able to obtain the ip number address with
my $ip = $ENV{'REMOTE_ADDR'};
Is there a way to resolve this and get the information I'm interested in? Reading through post here I found a little information on Net:
Thanks-
emily