sgrayban Posted April 5, 2010 Share Posted April 5, 2010 I have tinkering around on my own geoip mod and was wondering if anyone would be interested in something like this for your own site ? If so and there is enough people wanting it I'll package it. Sample is at https://www.borgnet.net/clients/geoip.php 0 Quote Link to comment Share on other sites More sharing options...
Business Hosting Online Posted April 5, 2010 Share Posted April 5, 2010 interest from me 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted April 5, 2010 Share Posted April 5, 2010 It's telling me I'm in France but I'm from the UK which MaxMind correctly reports, it seems like it needs some updating. I don't really see the point in this though? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 5, 2010 Author Share Posted April 5, 2010 It's telling me I'm in France but I'm from the UK which MaxMind correctly reports, it seems like it needs some updating. I don't really see the point in this though? The data comes from http://www.ipinfodb.com and in my testing its pretty accurate. Your IP block could have been moved or your ISP simply changed the location for it. As for why ? If you aren't interested why did you post ? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 7, 2010 Author Share Posted April 7, 2010 Only 1 person is interested in this ? That's kinda hard to believe. 0 Quote Link to comment Share on other sites More sharing options...
dansgalaxy Posted April 8, 2010 Share Posted April 8, 2010 +1 Interested. Although can you suggest how and where it would be used? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 You can use it on any page or place you want it to show up using just 1 line. {include_php file="/path-to/geoip.php"} 0 Quote Link to comment Share on other sites More sharing options...
floyd Posted April 8, 2010 Share Posted April 8, 2010 You can use it on any page or place you want it to show up using just 1 line. I guess the question is Why use it? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 I guess the question is Why use it? Seriously people this is a pointless question. The same pointless answer is "The same reason why you ask this question... because I can" 0 Quote Link to comment Share on other sites More sharing options...
floyd Posted April 8, 2010 Share Posted April 8, 2010 Ok well I for one do not use anything just because I can. For me there has to be some purpose. I don't have time to waste on something just because I can. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 Ok well I for one do not use anything just because I can. For me there has to be some purpose. I don't have time to waste on something just because I can. uhhh Apparently you do have time to waste to comment on something you clearly do not want. It's not like me or anyone else has forced you to comment on it. As for the mod I'll put the download link in my signature when its ready and I'll post back. If you don't want it or need it don't waste my time posting moot replies. 0 Quote Link to comment Share on other sites More sharing options...
floyd Posted April 8, 2010 Share Posted April 8, 2010 Apparently you do have time to waste to comment on something you clearly do not want. It's not like me or anyone else has forced you to comment on it. I never said I did not want it. I was asking a question so that I would know if I wanted it or not. I was hoping you had a reason I had not thought of. I am here to learn. The reason I even read the post is because I was interested in what you were offering. I was hoping your idea was to use it in fraud protection or something. Clearly you have misinterpreted my questions and responses. 0 Quote Link to comment Share on other sites More sharing options...
jeremyhaber Posted April 8, 2010 Share Posted April 8, 2010 This could be useful for fraud detection. The database is pretty big though with all the cities.... I think this type of application should use the database of choice depending on how accurate the person wants it. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 (edited) This isn't really for fraud protection and it doesn't store any info but I do use it on my main page and on my checkout page to discourage people that want to steal my services. When they see you can tell where they are located or close to it they tend to leave. I also use an apache mod that will prevent access if they are listed on any proxy/tor rbl. Those 2 things have reduced my fraud signups to 0% now. BTW the info is pulled via API from ipinfodb.com so there is no database to install. It's just 1 file and the include line above. Oh and it uses external country flags which I would include. Edited April 8, 2010 by sgrayban 0 Quote Link to comment Share on other sites More sharing options...
floyd Posted April 8, 2010 Share Posted April 8, 2010 That is the answer I was looking for in post #9. Thanks. I currently use the perl module http://search.cpan.org/~borisz/Geo-IP-1.38/lib/Geo/IP.pm 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 I didn't want to use the perl mod because that meant the user would have to install a external program. Something that a lot of people here have problems doing. Using a API that was free and easy to code seemed to be the easiest to way to do it. Geo::IP has a whole set of other issues to deal with like constantly having to download the new database and the free one isn't updated constantly opposed to the paid one which can use a cron job to update. Thus a free, no database, no downloads, no external programs to install, API that was nearly 99% accurate was the way to go. 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted April 8, 2010 Share Posted April 8, 2010 The data comes from http://www.ipinfodb.com and in my testing its pretty accurate. Your IP block could have been moved or your ISP simply changed the location for it. As for why ? If you aren't interested why did you post ? Because this is a public forum and I can? We had a mod developed which automatically displayed pricing depending on which country the visitor was from. IMO that would be much more useful than just displaying the info. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 Then release that mod to the public. I am not going to get into a pi$$ing match here. This mod is what it is. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 9, 2010 Author Share Posted April 9, 2010 Thread continued at http://forum.whmcs.com/showthread.php?p=146495 0 Quote Link to comment Share on other sites More sharing options...
PsyberMind Posted April 9, 2010 Share Posted April 9, 2010 This could be very useful to deter fraud. Do you think there could be a way to pull the info into the clients DB, or stamp it on all the invoices somehow? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 10, 2010 Author Share Posted April 10, 2010 Thread continued at http://forum.whmcs.com/showthread.php?p=146495 - please post there as I do not monitor this thread anymore. And no. I have no plans to ever include the info in a database. 0 Quote Link to comment Share on other sites More sharing options...
darockProjects Posted July 23, 2010 Share Posted July 23, 2010 Hey, Is there a chance that the mod can easily update the prices based on location? For example, the price be in $ for the guys from US and £ for the Guys from UK ? 0 Quote Link to comment Share on other sites More sharing options...
No-Server Posted July 24, 2010 Share Posted July 24, 2010 Intrested! Nice idea. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.