Jump to content


Photo

IP translation?


  • Please log in to reply
4 replies to this topic

#1 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 16 June 2006 - 10:30 AM

ok, let say i got an I.P. address for example this --> "203.211.90.90"
now i want to translate it into a country its city as well and etc?

how would i do this?

thanks in advance.

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 16 June 2006 - 10:33 AM

I think the easiest way would be to sign up to a geo IP service. Google "Geo IP".

#3 bilis_money

bilis_money
  • Members
  • PipPipPip
  • Advanced Member
  • 621 posts

Posted 16 June 2006 - 10:38 AM

so you mean SA there is no currently specific functions with php to do this?

#4 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 16 June 2006 - 11:13 AM

[!--quoteo(post=384516:date=Jun 16 2006, 11:38 AM:name=bilis_money)--][div class=\'quotetop\']QUOTE(bilis_money @ Jun 16 2006, 11:38 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
so you mean SA there is no currently specific functions with php to do this?
[/quote]
Correct.

But to elaborate on my previous statement, with regards to a GeoIP service, I think you'd have to pay for a service that gives you the level of detail you require. I have found free services that can locate the originating country of an IP, but broken down to a region, or city, I guess you would have to pay.

#5 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 16 June 2006 - 11:30 AM

You can get a class to do what you want for free ok

link.
[a href=\"http://www.phpclasses.org/browse/package/3133.html\" target=\"_blank\"]http://www.phpclasses.org/browse/package/3133.html[/a]

good luck
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users