![]() |
GEOTARGETING: whatīs best ??
... been looking at http://www.georedirect.com/
... are there any other "good" geotargeting scripts? preferable written in php ... let me know !! |
I just finsihed a custom job for sexzity. PHP+Apache+modGeoIP based. He tells me he is rather happy with it and is commisioning further work next week.
Hit me up if you are interested in something custom. |
install apache geoip modules from http://www.maxmind.com
Then something like this.... <? $country_code = apache_note("GEOIP_COUNTRY_CODE"); if ($country_code = "US") { $outro = "http://www.ussponsors.com"; header ("Location: $outro" ); } if ($country_code = "JA") { $outro = "http://www.japanlanguagesponsor.com"; header ("Location: $outro" ); } ?> funkmaster icq me 739765 if any questions.. that code doesn't format quite properly.. |
dialers make jesus baby cry :(
|
no soul, donīt need it for dialers ... but that brings up an idea ...
|
I would really like to know how much slowdown you would see if you put this on your index page
|
it's super fast
|
|
Hi personally I use www.ip-sorter.com. I don't know if it's the best, but I like this one very much. (only used 2 scripts)
It's written in C, and doesn't need MYSQL. Also great stats, and many many options for traffic filtering... Andre |
... hmmm, why not just install mod_geoip and go from there ... no fancy stats interface needed anyway.
... wouldnīt that be just the best sollution ?? |
Quote:
:glugglug |
Quote:
I concur :glugglug |
ip-sorter, it's nice to know what your filtered traffic is doing
believe me and with high load you defenitely want a module not a script, response time and no latency DOES make a difference. DynaMite :2 cents: |
yeah install the geoip mod and then write quick php script.. as long as you use the mod properly in your script you won't have siginificant performance issues.. if it's not working go with one of the mentioned programs..
|
UPDATE: I had no success with georedirect.com -> now sacX is helping me !!
|
|
... thanks 4pics, I donīt need stats and shit and therefore I donīt need a mysql sollution ... I like low load stuff.
... thanks sacX for helping me ... stuff is running great now !! |
Take a look at http://www.trafficassistant.com It even has built in IP exclusion so you can let the foreign search engines list your pages while still redirecting surfers from the search engine countries.:)
Or if you don't want to figure out where to send foreign traffic take a look at http://www.geobucks.com Hugs, Danielle |
funkmaster,
I just noticed you wanted a php solution. http://www.trafficassistant.com/ 100% php. No mySQL or anything like that to slow it down. Hugs, Danielle |
If you use maxminds geo-ip database don't be cheap and get the premium country service. If you use their free database e.g. AOL is taken as US even if you use AOL Germany or other countries.
I use the apache module and use php to forward certain IP blocks. $country_code = apache_note("GEOIP_COUNTRY_CODE"); switch($country_code) { case 'A1': case 'IN': case 'PK': case 'CN': case 'ID': case 'MY': case 'PH': case 'TH': case 'IR': case 'LK': . . . case 'BA': case 'EE': case 'SK': case 'LT': case 'LV': case 'KZ': case 'TM': case 'KG': case 'MK': case 'RO': case 'UZ': case 'AL': case 'CU': header('Location: http://www.yourdomain.com/cgi-bin/forward.pl'); exit(); break; default: break; } Case is faster than if clauses. It takes all the countries until a break is displayed so you have less code and you can block forward certeain countries. I then use a perl prog to forward the traffic to different sponsors or toplists or whatever. The advantage is that the perl prog is not called everytime and noone even notices that he is forwarded. |
|
All times are GMT -7. The time now is 04:12 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123