![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: US
Posts: 2,104
|
Help w/ GEOIP
Im trying to setup a script or find a script or something that will display: Hi, Im Brooke my hometown is <insert city here>. Like all of the GEOIP banners and text stuff you find every where else. I want to be able to incorporate this into my site. Please help.
__________________
Brief revisit. (mic drop) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2006
Posts: 394
|
phpadsnew will do geoip. its the best ads script out there
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
I have ip2location on my site and it works great. Would love to tell you how to set it up but the guy that writes my scripts did it for me. www.ip2location.com. I got the db3 i think it is which gives cities. I also had him set it up so if it does not recognize an IP it says Local.
I believe they do give instructions how to set it up but I just asked him to do it. He could probably set you up too although I doubt I will talk to him until Monday.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
this is the version I bought - $199 - http://www.ip2location.com/IP-COUNTRY-REGION-CITY.HTM
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: US
Posts: 2,104
|
Haha, anything free?
__________________
Brief revisit. (mic drop) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So Fucking Banned
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Dec 2002
Location: New Zealand
Posts: 2,998
|
from my tests ip2location is MUCH worse than maxmind.
__________________
Have Asian Language Traffic? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
heres a totally free method that doesnt cause a huge server load either..
keep in mind because its free its not the BEST geo database out there but hey its free.. save as something.php ---------------------------------------------- Code:
<html> <head> </head> <body> Hi, Im Brooke my hometown is <?php // ip to html bt stb $addr = getenv("REMOTE_ADDR"); $tb = "http://api.hostip.info/get_html.php?ip=$addr&position=true"; $ntml = file_get_contents($tb); $trip = explode('Latitude:',$ntml); $ctcn = $trip[0]; $trip = explode('City: ',$ctcn); $ctcn = trim($trip[1]); echo $ctcn; ?> </body> </html> Heres an example http://ytmnd.webspacemania.com/freegeo/
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |