|
|
|
||||
|
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 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
I often see people asking for an easy free solution so here goes
p.s. because its free its not perfect but it also is alot less tasking on your server than most free methods exampe usage of below code http://ytmnd.webspacemania.com/freegeo/ Code:
<html>
<head>
</head>
<body>
Hi, I'm Brooke i live in
<?php
// ip to html by stb
$addr = getenv("REMOTE_ADDR");
$url = "http://api.hostip.info/get_html.php?ip=$addr&position=true";
$html = file_get_contents($url);
$trip = explode('Latitude:',$html);
$ctcn = $trip[0];
$trip = explode('City: ',$ctcn);
$ctcn = trim($trip[1]);
echo $ctcn;
?>
and i'm super horny
</body>
</html>
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#2 | |
|
So Fucking Banned
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
|
Quote:
but I did go to the site and update the record for my IP Everyone should do that - it might make it worth using on bigger projects. If it doesn't get yours right click here www.hostip.info and you can change it for them. |
|
|
|
|
|
|
#3 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
|
Quote:
__________________
Make Money
|
|
|
|
|
|
|
#4 |
|
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,365
|
Apparently it doesn't know San Diego either.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. Click here for more details. |
|
|
|
|
|
#5 |
|
So Fucking Banned
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
|
|
|
|
|
|
|
#6 |
|
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
doesn't work for me either :-/
"Hi, I'm Brooke i live in (Unknown City?) and i'm super horny"
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Oct 2005
Location: Australia
Posts: 2,606
|
didnt work for me
|
|
|
|
|
|
#8 |
|
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,365
|
I fixed it. Must need a lot of work.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. Click here for more details. |
|
|
|
|
|
#9 | |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
everyone should go to www.hostip.info and add their city to the list , its a user built databse
__________________
hatisblack at yahoo.com |
|
|
|
|
|
|
#10 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
its also got a cool plugin for firefox to show the city location of any link
like this ![]()
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#11 |
|
MOBILE PORN: IMOBILEPORN
Join Date: Jan 2004
Location: Tinseltown NL
Posts: 16,502
|
nice job smokey, ill put it to use
|
|
|
|
|
|
#12 |
|
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 3,893
|
New Castle, DE?? 301.68 miles off!
__________________
|
|
|
|
|
|
#13 |
|
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: US
Posts: 2,104
|
Thanks smokey, answered my ? directly. Although its extremely faulty. How many people got it right on the first visit with out correcting? I guess if its the only free method thats my only choice though, eh?
__________________
Brief revisit. (mic drop) |
|
|
|
|
|
#14 | |
|
I am an Alien from space
Industry Role:
Join Date: May 2003
Location: Ontario, Canada
Posts: 11,118
|
Quote:
didn't work for me, but I went to http://www.hostip.info/index.html and added my city to their list and now it works.
__________________
ICQ: 16544251 - Skype: gator37 @ eastlink.ca - email: yngwie @ isys.ca |
|
|
|
|
|
|
#15 | |
|
So Fucking Banned
Join Date: Jun 2003
Location: Wilsonville, Oregon
Posts: 468
|
Quote:
Thanks for the info smokey, I've worked on a couple solutions myself, but yours seems the easiest. I worked with the free version of GeoIPmax and the database version is horrible (took me forever to figure out a good index, and even then it was slow) and the binary version is decent. But I think the one smokey posted above the simplest for our end. BTW Smokey, would you be willing to verify some code (my zango removal tool (link to thread)) and post the results? |
|
|
|
|
|
|
#16 |
|
Too lazy to set a custom title
Join Date: Jun 2004
Location: Brasil
Posts: 15,782
|
I have their "script" and their free DB on my server
__________________
|
|
|
|
|
|
#17 | |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
The thing with most geo-ip services is the database is a few mb's so everytime someone hits your script your server has to look thru the db file.. this method is less taxing on your server
__________________
hatisblack at yahoo.com |
|
|
|
|
|
|
#18 | |
|
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
if people like, I'll open it up to all - it's geolite, so it's not 100%. Hey, if enough people are willing to subscribe at, say $1/10k lookups, I'll get the main, pretty darn accurate maxmind city database...
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
|
|
|
|
|
#19 |
|
Programming King Pin
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
|
(Unknow City) ... that's farrrrrrrrrr from here :P
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress! |
|
|
|
|
|
#20 |
|
Confirmed User
Industry Role:
Join Date: Apr 2006
Location: San Diego
Posts: 2,197
|
Works for me in San Diego
__________________
Got Dating Traffic? Contact: Jesse (at) adultdatingdollars.com ICQ: 296775809 or AIM: cabotime21 |
|
|
|
|
|
#21 |
|
Confirmed User
Join Date: May 2006
Posts: 1,910
|
Works for me!
__________________
Done. |
|
|
|
|
|
#22 | |
|
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
Or even easier:
PHP Code:
Quote:
|
|
|
|
|
|
|
#23 |
|
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
if people are not getting accurate results from hostip.info, the following should be better:
http://geo.corecoder.com/ to test your own ip, or http://geo.corecoder.com/?ip=xx.xx.xx.xx to test a specific one. If you want all data, not just the city, it can be found here: http://geo.corecoder.com/full?ip=xx.xx.xx.xx
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
|
|
|
|
#24 | |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
__________________
hatisblack at yahoo.com |
|
|
|
|
|
|
#25 |
|
Confirmed User
Join Date: Sep 2006
Location: internets
Posts: 6,954
|
it got me in canada but wrong city
__________________
Teen Porn Models / Solo Girls |
|
|
|