Re: Countries and ip addresses

From: Date: Tue, 21 Aug 2001 23:17:25 +0000
Subject: Re: Countries and ip addresses
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63812@lists.php.net to get a copy of this message
In addition to scanning the results of http://php.net/gethostbyaddr I believe there *ARE* records of who owns what IP ranges, and you could *MAYBE* access them with Whois, SNMP, and/or other tools to make an educated guess. Nothing will be 100% accurate, however. Why do you think you need this?... If it's language, you can use the language-negotiation or content-negotiation or whatever it is, but most users don't set their browser up properly in the first place, so it's not real useful... You're pretty much stuck with the stupid/cute++ little flags interface :-) ++ Stupid or cute depends on how many times you've seen it :-) -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Mihailo Dzigurski <mdzigurski@yahoo.com> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Monday, August 20, 2001 3:57 AM Subject: Countries and ip addresses > Hello, > > How can I find out from witch country user is based on user ip address? I > need this from php script. > > Thanks, > Mihailo. > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >

« previous php.general (#63812) next »