Re: [PHP] IP address from which country

2002-01-09 Thread Eugene Lee
On Wed, Jan 09, 2002 at 11:33:46AM +0200, Dimitris Kossikidis wrote: : : I 'm not sure, but i beleive you can get visitor's country from Apache 's : Varialble $HTTP_ACCEPT_LANGUAGE. For further information read "Predefined : Variables" in the manual. This works assuming the browser itself sends

Re: [PHP] IP address from which country

2002-01-09 Thread Dimitris Kossikidis
I 'm not sure, but i beleive you can get visitor's country from Apache 's Varialble $HTTP_ACCEPT_LANGUAGE. For further information read "Predefined Variables" in the manual. Hope it works!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP] IP address from which country

2002-01-09 Thread Jon Farmer
>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 Err... Wrong. You could host a .co.uk in the US or any other country for that matter! What you need to do is find the IP do a RIP

RE: [PHP] IP address from which country

2002-01-08 Thread Jason Murray
> Thank you Jason ,I will check the Digital Envoy to get more > information, have you got the website address of it? www.google.com ... "digital envoy" ... "I'm feeling lucky" :) ... or just www.digitalenvoy.net. Search engines are fun :) -- Jason Murray [EMAIL PROTECTED] Web Developer, Melb

re: [PHP] IP address from which country

2002-01-08 Thread Zhang, Leon (STHK/Zh)
CTED] Ö÷Ìâ: RE: [PHP] IP address from which country > 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 >

RE: [PHP] IP address from which country

2002-01-08 Thread Jason Murray
> 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 ge

re: [PHP] IP address from which country

2002-01-08 Thread Zhang, Leon (STHK/Zh)
t 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 lo

Re: [PHP] IP address from which country

2002-01-08 Thread Andrew Brampton
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