Thank you Andrew,but in China mainland ,I saw many websites can even tells the province information which the user come from and I think in USA the State information can also be gotten from the visitor's ip address.BTW,in PHP what we can get is just the ip address of the user how can we get the host name ?Anything missed here? Regards Leon
-----原始邮件----- 发件人: Andrew Brampton [mailto:[EMAIL PROTECTED]] 发送时间: 09 January, 2002 9:46 收件人: Zhang, Leon (STHK/Zh) 抄送: [EMAIL PROTECTED] 主题: Re: [PHP] IP address from which country No such table, the best you can do is look at their hostname and parse the last part ie .co.uk or .com... And then u can try and figure where they are from that Andrew ----- Original Message ----- From: Zhang, Leon (STHK/Zh) To: [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 1:03 AM Subject: [PHP] IP address from which country Hi, In php ,we can easily get the ip address of a connected computer ,but I always see on the web that there are some pages can tell you where you are from,so there must be a complete table show the relation of the ip address and country or region ,where can I find this . Thanks . Leon ---------------------------------------------------------------------------- -- -- 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] -- 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]