RE: Getting ip address

2006-06-15 Thread Ron McKeever
mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 8:52 AM To: Perl-beginners Subject: Re: Getting ip address > Danny wrote: > > Hi list, > > > > I am trying to get the ip address from each of my NIC's (only the ip address) from ifconfig and then > > mail

Re: Getting ip address

2006-06-15 Thread Danny
> Danny wrote: > > Hi list, > > > > I am trying to get the ip address from each of my NIC's (only the ip > > address) from ifconfig and then > > mailing the addresses to a remote mailbox. The problem is that I am making > > one BIG > > stuff-up out of it and I am too embarrassed to post my scrip

Re: Getting ip address

2006-06-12 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Danny wrote: > Hi list, > > I am trying to get the ip address from each of my NIC's (only the ip address) > from ifconfig and then > mailing the addresses to a remote mailbox. The problem is that I am making > one BIG > stuff-up out of it and I

Re: getting ip address

2001-11-22 Thread Djoko Priyono
#! /usr/bin/perl use CGI; $q = new CGI; $ip = $q->remote_host; if ( $ip eq 'w.x.y.z') { # code } else { # code } -- Djoko Priyono System Programmer PT Dyviacom Intrabumi Tbk. Jakarta - Indonesia On Wednesday 21 November 2001 08:02 pm, Rahul Garg wrote: > Hi everybo

RE: getting ip address

2001-11-21 Thread John Edwards
http://www.atomicdesigns.net/adime/perl/lists/env.html You'll be wanting the REMOTE_ADDR details. HTH John -Original Message- From: Rahul Garg [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 13:02 To: [EMAIL PROTECTED] Subject: getting ip address Hi everybody, The problem goes lik