![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
|
__________________
Questions? ICQ: 125184542 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Jul 2003
Posts: 360
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Carpe Visio
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2004
Posts: 791
|
![]() IP Sorter
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Sep 2002
Location: Nashville, TN
Posts: 104
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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...)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Jul 2003
Posts: 360
|
Quote:
Please hit me up on ICQ - canīt send you a message over GFY.. Or mail me at ow-at-bitchmedia.com Thank you! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Jul 2003
Posts: 360
|
Quote:
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) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: Nov 2001
Location: The Universe
Posts: 148
|
Quote:
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! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |