GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   GEOTARGETING: whatīs best ?? (https://gfy.com/showthread.php?t=146360)

funkmaster 06-24-2003 03:35 AM

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 !!

kad 06-24-2003 03:42 AM

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.

sacX 06-24-2003 04:11 AM

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..

Theo 06-24-2003 04:18 AM

dialers make jesus baby cry :(

funkmaster 06-24-2003 04:30 AM

no soul, donīt need it for dialers ... but that brings up an idea ...

Calvinguy 06-24-2003 05:20 AM

I would really like to know how much slowdown you would see if you put this on your index page

sacX 06-24-2003 05:23 AM

it's super fast

JOP 06-24-2003 05:27 AM

try http://www.ip-sorter.com

Itīs run by former adult webmasters and their setup is ultra fast.

justsexxx 06-24-2003 05:41 AM

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

funkmaster 06-24-2003 05:46 AM

... 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 ??

richard 06-24-2003 06:18 AM

Quote:

Originally posted by JOP
try http://www.ip-sorter.com

Itīs run by former adult webmasters and their setup is ultra fast.

former adult webmasters?

:glugglug

dantheman 06-24-2003 06:38 AM

Quote:

Originally posted by funkmaster
... 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 ??


I concur :glugglug

ServerGenius 06-24-2003 06:43 AM

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:

sacX 06-24-2003 07:23 AM

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..

funkmaster 06-25-2003 01:13 AM

UPDATE: I had no success with georedirect.com -> now sacX is helping me !!

4Pics 06-25-2003 01:37 AM

Try this, it's free

http://jasx.ariaa.it/JIpFromX/

funkmaster 06-25-2003 01:40 AM

... 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 !!

Danielle 06-25-2003 01:53 AM

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

Danielle 06-25-2003 01:56 AM

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

andi_germany 06-25-2003 04:04 AM

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.

Naughty 06-25-2003 04:09 AM

www.trafficjuicer.com ?


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