Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-18-2004, 09:48 AM   #1
CyberSan
Confirmed User
 
Join Date: Jul 2003
Posts: 360
IP to country redirection script and DB needed... (PayPal payment)

Hello,

I am looking for a PHP script, that checks the IP of my user,
compares this with one of these big country-2-ip databases,
and forwards users from one country to a specific site, all others to one other site.

Anybody has already done this and can offer this script?
Immediate payment via paypal.
CyberSan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 09:49 AM   #2
justsexxx
Too lazy to set a custom title
 
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
www.ip-sorter.com is what you need(I think)

it's coded in C tho

Andre
__________________
Questions?

ICQ: 125184542
justsexxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 09:53 AM   #3
CyberSan
Confirmed User
 
Join Date: Jul 2003
Posts: 360
Quote:
Originally posted by justsexxx
www.ip-sorter.com is what you need(I think)

it's coded in C tho

Andre
Looks good. Thank you!!

But to be honest, I am looking for something in PHP, that
can be easily configured by our staff here - or possibly put
on another domain, too - i f needed.
CyberSan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 10:03 AM   #4
Trafficbrokercom
Confirmed User
 
Join Date: Dec 2002
Posts: 542
http://www.maxmind.com

compile the api as an apache module and then just use:

if($_SERVER["GEOIP_COUNTRY_CODE" = = "DE"){
Header("Location: xyz.php");
exit;
}

else{
Header("Location: abc.php");
exit;
}

Last edited by Trafficbrokercom; 02-18-2004 at 10:07 AM..
Trafficbrokercom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 10:07 AM   #5
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
This is all built into the CJOverkill traffic script. You might be able to use this to do what you are asking.

http://cjoverkill.icefire.org
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 10:14 AM   #6
ListYourPorn
Confirmed User
 
Join Date: Jan 2004
Posts: 791

IP Sorter
__________________


Sex Add your sites Click Here
ListYourPorn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 11:15 AM   #7
nibbi
Confirmed User
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 104
PHP IP Traffic Filter might be what you are looking for.

http://www.nibbi.net/scripts/ip-filter.php
nibbi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 11:43 AM   #8
Intrigue
Confirmed User
 
Join Date: Feb 2004
Location: Ohio, US
Posts: 662
I don't have this already, but could get it done for you within a few hours, using ip-to-country's database, and some php code, i'd base it on how php.net does they're ip 2 country code. hit me up (contact info is on my profile) and we can talk specifics (what type of database you want to use, to store the countries, etc...)
Intrigue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 12:14 PM   #9
mech
Confirmed User
 
Join Date: Oct 2002
Location: Canada
Posts: 343
Check my sig. Geo-Ads PHP can do what you're asking plus geo-target specific ads instead of redirecting if that's something you'd like.
mech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 12:35 PM   #10
CyberSan
Confirmed User
 
Join Date: Jul 2003
Posts: 360
Quote:
Originally posted by Intrigue
I don't have this already, but could get it done for you within a few hours, using ip-to-country's database, and some php code, i'd base it on how php.net does they're ip 2 country code. hit me up (contact info is on my profile) and we can talk specifics (what type of database you want to use, to store the countries, etc...)
That sounds good!

Please hit me up on ICQ - canīt send you a message over GFY..

Or mail me at ow-at-bitchmedia.com

Thank you!
CyberSan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 01:39 PM   #11
nasko
Confirmed User
 
Join Date: Nov 2001
Location: The Universe
Posts: 148
Check the link in my sig.
__________________
3Pic.com - 700k/day
30 days listing for $1,000!
nasko is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 02:29 PM   #12
CyberSan
Confirmed User
 
Join Date: Jul 2003
Posts: 360
Quote:
Originally posted by nasko
Check the link in my sig.
Hi Nasko,

yuor tool looks really cool!

Do you have any option for checking each site by a php include (if the user is no italian for example, he can see the sites, others are forwarded to a different site)
CyberSan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-18-2004, 02:51 PM   #13
nasko
Confirmed User
 
Join Date: Nov 2001
Location: The Universe
Posts: 148
Quote:
Originally posted by CyberSan


Hi Nasko,

yuor tool looks really cool!

Do you have any option for checking each site by a php include (if the user is no italian for example, he can see the sites, others are forwarded to a different site)
Thanks!

There's not such an option. You must have a script installed on your server to be able to do it with a php include.
__________________
3Pic.com - 700k/day
30 days listing for $1,000!
nasko is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright Đ 2000- Jelsoft Enterprises Limited.