Page 1 of 1

PHP Code to use HostIP API easily

PostPosted: Tue Jun 20, 2006 5:16 am
by DonCullen
The code'll let you have the individual information of the city, the state, and country of an given IP. The hostip API gives you it all, my code simply parses it into individual data and delivers only the specified data.

If credit is to be given, just give credit to HOSTIP.INFO since the API is theirs- parsing was just a common sense thing to do. Enjoy.

Code: Select all

Edit: Apparently HOSTIP.INFO's phpBB forum has poor code processing for code placed between [code] tags, so I uploaded source code elsewhere and am providing a link. I apologize for the inconvience, and hopefully, the source will be there for as long as HOSTIP.INFO hosts the API.


PostPosted: Wed Dec 17, 2008 10:49 am
by wewetq7011980
there are two things,costume jewelry,handmade jewelry,which one do u like?