[PHP] How to check what country the user is comming from ?

2001-11-20 Thread Fly

thx Kamil Muszynski



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How to check what country the user is comming from ?

2001-11-20 Thread Duncan Hill

On Tue, 20 Nov 2001, Fly wrote:

 thx Kamil Muszynski

Practically, you can't.

Technically, you can.  Take the IP, run it through whois.arin.net.  If that 
returns apnic, ripe etc, run it through those.. you might get the answer you 
want.  Calls to apnic etc are probably blocking calls - slowing down your 
page load.  Or make this a standalone daemon that feeds a DB.

If there are built in PHP commands, I don't know of them.

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.
Never attribute to malice that which can be adequately explained by stupidity.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]