Re: Finding the country

2002-07-25 Thread zentara
On Wed, 24 Jul 2002 09:37:34 -0500, [EMAIL PROTECTED] (Scot Robnett) wrote: >I'm assuming your best bet would be to find the IP using the first line of a >ping or traceroute and regex-ing out the extraneous stuff, then using >'whois -a' (which does an ARIN search) and extracting the 4th line to g

Re: Finding the country

2002-07-25 Thread Connie Chan
- Original Message - From: "Hytham Shehab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 4:21 AM Subject: Re: Finding the country > Randal L. Schwartz wrote: > > If you're using it to force the language of the page, no

Re: Finding the country

2002-07-24 Thread Hytham Shehab
Randal L. Schwartz wrote: > If you're using it to force the language of the page, no. Use the > browser specification instead. thanks v. much for that Randal, but *how* ? how i can use the browser specification? -- Hytham Shehab -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: Finding the country

2002-07-24 Thread Randal L. Schwartz
> "Octavian" == Octavian Rasnita <[EMAIL PROTECTED]> writes: Octavian> Is it possible to find out the country of my web page Octavian> visitors using a Perl script? Octavian> I would like to find the IP address of the visitor ISP, or Octavian> something else that can help me to find the coun

Re: Finding the country

2002-07-24 Thread fliptop
Scot Robnett wrote: > I'm assuming your best bet would be to find the IP using the first line of a > ping or traceroute and regex-ing out the extraneous stuff, then using > 'whois -a' (which does an ARIN search) and extracting the 4th line to get > the country. > > Anybody have any easier/faster

Re: Finding the country

2002-07-24 Thread David T-G
Teddy -- ...and then Octavian Rasnita said... % % Hello all, Hi! % ... % I would like to find the IP address of the visitor ISP, or something else % that can help me to find the country. That's easy; just use %ENV{REMOTE_ADDR} as Apache hands it to you. HTH & HAND :-D -- David T-G

RE: Finding the country

2002-07-24 Thread Scot Robnett
I'm assuming your best bet would be to find the IP using the first line of a ping or traceroute and regex-ing out the extraneous stuff, then using 'whois -a' (which does an ARIN search) and extracting the 4th line to get the country. Anybody have any easier/faster ideas? Scot R. inSite -- T

Finding the country

2002-07-24 Thread Octavian Rasnita
Hello all, Is it possible to find out the country of my web page visitors using a Perl script? I would like to find the IP address of the visitor ISP, or something else that can help me to find the country. I don't know how to find it if the visitor uses a .net or .com address. Thank you. T