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.
Help w/ GEOIP
Collapse
X
-
-
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.
Comment
-
Maxmind is good but i found ip2location to have a better db.
Comment
-
mod geoip/mod rewrite/htaccessSince 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

Only Fans Data
20+ Custom Adult Themes and PluginsComment
-
Comment
-
Comment
-
Comment
-
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.comComment

Comment