Test the accuracy of this script.

Status
Not open for further replies.

kblessinggr

PedoBeard
Sep 15, 2008
5,723
80
0
G.R., Michigan
www.kbeezie.com
I got a re-director/masking utility I'm working on, but I want to make sure that visitors hitting the links are accurately being filtered. For example is the referrer correct, or IP, and is the country code correct (ie: Showing up US if you're in the US instead of france , but you're in New York.)

Got a demo link here KBLinker Demo which would normally just redirect to the defined url/offer, but its setup to spit out information rather than actually redirect anyone.

When most of your friends online are in the US or Canada, it doesn't have much room to test for error with other countries. (The geo-coding portion is based off the free database provided by MaxMind GeoLite Country.)
 


worked great for me
The following page is for demonstration purposes only. Instead of showing you the information below, this script would normally process the code and redirect the visitor appropriately.
Code: ishield
Method: 301 Redirect using PHP header() function

Blocked IPs: 127.0.0.1, 4.4.4.1, 68.218.123.49,
Your IP: 68.118.72.38

Blocked Referers: intern.facebook.net,
Your Referer:

Geo-targeting is on
Primary Country Code of link is UM
Your Country Code is US
URLs were defined for : ALL CA NZ US

Original Target: http://www.tghisfgbnuweb.com/569347598
Target after filtering: The Good Ol USA
http://www.good-ol-usa.com
 
I've spent the past couple hours messing with this tool and it is bad ass. The geo-ip redirection is something I've been looking for forever and this does exactly what I want it to. +Rep to you, sir.
 
The following page is for demonstration purposes only. Instead of showing you the information below, this script would normally process the code and redirect the visitor appropriately.
Code: ishield
Method: 301 Redirect using PHP header() function

Blocked IPs: 127.0.0.1, 4.4.4.1, 68.218.123.49,
Your IP: 86.129.162.52

Blocked Referers: intern.facebook.net,
Your Referer:

Geo-targeting is on
Primary Country Code of link is UM
Your Country Code is GB
URLs were defined for : ALL CA NZ US

Original Target: http://www.tghisfgbnuweb.com/569347598
Target after filtering: http://www.offerstoall.com/countries/not/specified-below

To see the control panel interface behind these stored links, goto the Demo page. Use the username demo and password demo to enter.

works for me too (UK) - will check out your demo!
 
remember to upgrade your maxmind db every month or so, you'd be surprised how quickly things change and geotargets are wrong
 
remember to upgrade your maxmind db every month or so, you'd be surprised how quickly things change and geotargets are wrong

I was going to leave that to the user, since its the free version of the Maxmind Geoip country binary database. I was going to stick a download url in the about section, maybe even see if there's an rss feed or a way to automatically notify of a new dat file.

But yes you're right, they update that frequently, the demo is using the one as of March 9th. For the users it should only be a drag and drop of the .dat file where it needs to be.

I'll probably implement the city database if a strong enough demand for it, but I don't see myself doing that for quite some time. I'm still making sure everything peachy (ie: all functionality good), and I want to get 2 more themes designed before I make it publicly downloadable.

I guess if anyone wants to be a beta tester they can contact me.
 
Status
Not open for further replies.