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)
-   -   Countrybased (IP) redirect script ? (https://gfy.com/showthread.php?t=179385)

jeroman 09-25-2003 06:38 AM

Countrybased (IP) redirect script ?
 
Countrybased (IP) redirect script ?

Please let me know some easy to setup
and offcourse fast scripts.

Madball 09-25-2003 06:40 AM

I'm interested, too.

dd2 09-25-2003 06:43 AM

http://www.georedirect.com

swedguy 09-25-2003 06:55 AM

http://www.maxmind.com/ - get the geo database and mod_geoip and you're good to go.

http://www.ip-sorter.com/ - An easy to use admin interface

woj 09-25-2003 07:28 AM

:glugglug

Dusen 09-25-2003 07:29 AM

I would definately reccomend either Richard (http://www.ip-sorter.com/ ) for a pre-scripted solution or Woj for writing you something custom to go with the maxmind database :thumbsup

richard 09-30-2003 03:18 PM

Jeroman, hit me up on ICQ if you want a demo: 41012160.

As for performance, i think ip-sorter is the fastest on the market at the moment (the only one coded in C).

We ran a test on an empty machine (p3 1.3gig, 512meg ram, scsi disk) and pushed a simulated 5,000,000 hits through the CGI script.

Load average increased from 0.00 to 0.50, with 50% cpu usage.

Its not a 'real-world' benchmark, but it gives you an idea of the peformance. We have traffic brokers doing around 1M/day with no probs.

$300 first copy [including the maxmind $150 premium data], $150 thereafter. (1 copy for 1 server, can be used on all the domains).

Hit me up for a chat if you're interested.

Richard.

justsexxx 09-30-2003 03:22 PM

http://www.ip-sorter.com/ is great!

ScriptBall 09-30-2003 03:31 PM

If you cannot find one to your liking, Contact scriptball software and we can make a custom one that will suit your needs.

ICQ: 307802876

PowerCum 09-30-2003 03:52 PM

See sig.

Use only the in.php and you are done. it brings a geofilter (based on IP), client (browser, download manager) filter, IP or IP range filter and request method filter.

And it's free.

If you do not use the out.php it does not act as trading script but only as traffic tracker and stats tool.

ravo 09-30-2003 05:08 PM

I highly recommend Richard's http://www.ip-sorter.com/
It's a great piece of software; we use it on 2 servers, and the load is negligible.

TheJimmy 09-30-2003 05:18 PM

I'm sure there is something for free that's decent at hotscripts.com, freshmeat.net or sourceforge ;)

:thumbsup :thumbsup

richard 09-30-2003 05:23 PM

Quote:

Originally posted by TheJimmy
I'm sure there is something for free that's decent at hotscripts.com, freshmeat.net or sourceforge

none that are installed for you, will handle high load, coded robustly in C, and include 12 months of monthly updates to the database :-)

Thanks for the props Ravo, Andre and Jake :thumbsup

jeroman 11-04-2003 03:28 AM

Thanks

Danielle 11-04-2003 03:59 AM

http://www.trafficassistant.com/

Hugs,
Danielle

BrentD 11-04-2003 04:38 AM

Quote:

Originally posted by jeroman
Countrybased (IP) redirect script ?

Please let me know some easy to setup
and offcourse fast scripts.


This can be done with simple htaccess

Penn E. Less 11-04-2003 06:55 AM

http://marketing.ucumseeme.com/trafficfilter.shtml is approved by Webmasters worldwide! It's a low-cost, easy to use Internet service that works!

At $5.99, you can't beat it!:thumbsup

ELFugo 11-04-2003 09:23 AM

SmartRedirector
www.mimtech.com/e/scripts.html
simply the best and free:thumbsup

localG 11-04-2003 09:28 AM

Quote:

Originally posted by richard


none that are installed for you, will handle high load, coded robustly in C, and include 12 months of monthly updates to the database :-)

Thanks for the props Ravo, Andre and Jake :thumbsup

hey man can you hit me up on icq 133566063

Mojo Rizin 11-04-2003 09:38 AM

Quote:

Originally posted by ELFugo
SmartRedirector
www.mimtech.com/e/scripts.html
simply the best and free:thumbsup

Real great script.. I clicked on the demo and it comes back

YOU ARE FROM Unknown

Quite helpful

gleb 11-04-2003 09:59 AM

dont waste money

get a free db from http://ip-to-country.directi.com/node/view/6

redirection script is 5-10 lines in any language

xato 11-04-2003 10:06 AM

Quote:

Originally posted by gleb
dont waste money

get a free db from http://ip-to-country.directi.com/node/view/6

redirection script is 5-10 lines in any language

that looks cool.
anyone tried it out and does it work correctly/properly??

Trax 11-04-2003 10:09 AM

very interesting topic
might try out some of those services

ELFugo 11-04-2003 10:13 AM

Quote:

Originally posted by Mojo Rizin


Real great script.. I clicked on the demo and it comes back

YOU ARE FROM Unknown

Quite helpful

i know that. you have to install it to see how it works.

Mojo Rizin 11-04-2003 10:22 AM

Quote:

Originally posted by ELFugo


i know that. you have to install it to see how it works.

Then what is the point of having a demo?

richard 11-04-2003 11:32 AM

Quote:

Originally posted by gleb
dont waste money

My product is not a waste of money =)

Jer, what's with bumping this thread?

Mojo, http://ip-sorter.com/demos/test.php another demo. If you've not already noticed, the flag in my sig is also a demo ;)

LocalG, i've got you on icq, but missed your message (the spam filter will have blocked it).

gleb 11-04-2003 11:44 AM

Quote:

Originally posted by richard


My product is not a waste of money =)

Jer, what's with bumping this thread?

Mojo, http://ip-sorter.com/demos/test.php another demo. If you've not already noticed, the flag in my sig is also a demo ;)

LocalG, i've got you on icq, but missed your message (the spam filter will have blocked it).

from my tests the free ip-country db is just as accurate as maxminds or of another paid service. though if a customer is looking for something more detailed (region, city etc) then yea, they gotta sign up :thumbsup

good luck with your business :winkwink:

4Pics 11-04-2003 12:39 PM

Did anyone write a php script that imports the csv file to
a mysql database then have a redirect script?

Data for csv looks like

33996344 33996351 GB GBR UNITED KINGDOM



Then you can convert the surfers ip to that format via

$dotted_ip_address = long2ip($ip_number);

and see where the ip matches up.

I didn't want to duplicate work if someone already had something they'd share.

gleb 11-04-2003 12:58 PM

Quote:

Originally posted by 4Pics
Did anyone write a php script that imports the csv file to
a mysql database then have a redirect script?

Data for csv looks like

33996344 33996351 GB GBR UNITED KINGDOM



Then you can convert the surfers ip to that format via

$dotted_ip_address = long2ip($ip_number);

and see where the ip matches up.

I didn't want to duplicate work if someone already had something they'd share.

i got it in perl

http://www.adultexpectations.com/geo_ip_db.txt :)

ELFugo 11-04-2003 01:31 PM

Quote:

Originally posted by Mojo Rizin


Then what is the point of having a demo?

don't know... it's not my script. but it works for me.
i tried to help, not to sell something....

PowerCum 11-04-2003 02:11 PM

Quote:

Originally posted by 4Pics
Did anyone write a php script that imports the csv file to
a mysql database then have a redirect script?

Data for csv looks like

33996344 33996351 GB GBR UNITED KINGDOM



Then you can convert the surfers ip to that format via

$dotted_ip_address = long2ip($ip_number);

and see where the ip matches up.

I didn't want to duplicate work if someone already had something they'd share.

See sig. Take a look at the cj-filter.inc.php file. I Prefer to make the ip to long conversion at the MySQL side as it can be integrated into the query and yo save a couple of operations on php side. You gain a bit if speed too.
The queries take 0.01 to 0.05 sec on a PII 350 MHz machine. On more powerful machine they take way less. 0.00 seconds according to my production server, but it has 16 CPUs so it's a bit more difficult to overload it :)

xxxoutsourcing 11-04-2003 08:31 PM

http://www.ip2location.com/

Argoz 01-20-2004 06:54 PM

Quote:

Originally posted by xxxoutsourcing
http://www.ip2location.com/
Nice

mech 01-22-2004 11:43 AM

Instead of redirecting valuable traffic away from your sites why don't you consider just geo-targeting your ads instead? See my sig for a great program that does just that.


All times are GMT -7. The time now is 12:23 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123