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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-28-2006, 09:25 PM   #1
phasic
Confirmed User
 
phasic's Avatar
 
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)
phasic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:28 PM   #2
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
www.maxmind.com
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:28 PM   #3
The Shame
Confirmed User
 
Join Date: Oct 2006
Posts: 394
phpadsnew will do geoip. its the best ads script out there
The Shame is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:28 PM   #4
DateDoc
Outside looking in.
 
DateDoc's Avatar
 
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.
__________________
DateDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:29 PM   #5
DateDoc
Outside looking in.
 
DateDoc's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
Quote:
Originally Posted by damian2001 View Post
Maxmind is good but i found ip2location to have a better db.
__________________
DateDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:30 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,364
mod geoip/mod rewrite/htaccess
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:30 PM   #7
DateDoc
Outside looking in.
 
DateDoc's Avatar
 
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
__________________
DateDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:34 PM   #8
phasic
Confirmed User
 
phasic's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: US
Posts: 2,104
Haha, anything free?
__________________
Brief revisit. (mic drop)
phasic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 09:39 PM   #9
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
Quote:
Originally Posted by phasic View Post
Haha, anything free?
There are some free ones around but they are really bad......

I actually went through this last week and ended up paying for it. The free ones just didn't get anyone correct.
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 10:02 PM   #10
sacX
Confirmed User
 
Join Date: Dec 2002
Location: New Zealand
Posts: 2,998
Quote:
Originally Posted by damian2001 View Post
There are some free ones around but they are really bad......

I actually went through this last week and ended up paying for it. The free ones just didn't get anyone correct.
from my tests ip2location is MUCH worse than maxmind.
__________________
Have Asian Language Traffic?
sacX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2006, 10:10 PM   #11
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
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
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.