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 03-24-2004, 07:47 AM   #1
savas
Registered User
 
Join Date: Aug 2002
Posts: 1,045
how to refilter traffic with php?

i have good amout of traffic and i wanna refilter it and than redirect it.
savas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:07 AM   #2
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
filter on what? referal....ip ?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:09 AM   #3
savas
Registered User
 
Join Date: Aug 2002
Posts: 1,045
Quote:
Originally posted by grumpy
filter on what? referal....ip ?
ip or browser language
savas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:12 AM   #4
savas
Registered User
 
Join Date: Aug 2002
Posts: 1,045
Quote:
Originally posted by Mr.Andersen
Why not use our FREE filter scripts ?

www.smskings.com
because i don't want promore your sites
savas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:13 AM   #5
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
http://www.maxmind.com/ - Their geo database + mod_geoip
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:14 AM   #6
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
ip you must use php for browser language you can use j a v a s c r i p t
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:21 AM   #7
savas
Registered User
 
Join Date: Aug 2002
Posts: 1,045
Quote:
Originally posted by Mr.Andersen


yeah send it to dialers, that should do the trick
i wanna send this traffic to tgp and engish traffic to paysite
savas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:21 AM   #8
savas
Registered User
 
Join Date: Aug 2002
Posts: 1,045
Quote:
Originally posted by grumpy
ip you must use php for browser language you can use j a v a s c r i p t
i wanna use php
savas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:39 AM   #9
boyw_utr
Confirmed User
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 310
it's not so hard to write it in PHP redirect based on IP
I can do that for ya..

The browser language you have to call with hahahahahahahahahaha
but with geo you can refer the country so why should you
use that any way...

A sollution is putting up a frontpage and get the language with hahahahahahahahahaha and post this to the php page and then redirect based upon the 2 values..

Add a DB for countrys so you add the country and the url which page they have to get...

simple as that..

note: hahahahahahahahahaha= j a v a s c r i p t
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
boyw_utr is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 08:41 AM   #10
Fucking Auke
Registered User
 
Join Date: Feb 2004
Location: Arnhem, Netherlands
Posts: 30
Oke, Go here : http://www.ip2nation.com/

you can download there database of ip adresses.
They even got an few examples of php mysql scripting.

I use it myself so i don't depend on sponsor programms.
Befor i used this on my sites I used an browser tracking script i wrote but you can't realy trust an users browser...

Ip tracking is the best way!

Example script:

PHP Code:
<?php
$server   
""// MySQL hostname
$username ""// MySQL username
$password ""// MySQL password
$dbname   ""// MySQL db name


$db mysql_connect($server$username$password) or die(mysql_error());
      
mysql_select_db($dbname) or die(mysql_error());

$sql "SELECT 
            country 
        FROM 
            ip2nation 
        WHERE 
            ip < INET_ATON('"
.$_SERVER['REMOTE_ADDR']."') 
        ORDER BY 
            ip DESC 
        LIMIT 0,1"
;

$country =  mysql_result(mysql_query($sql), 00);

// Redirect users based on their country
switch ($country) {
    case 
'en':
        echo
"<hahahahahahahahalocation.href=('http://www.yourpaysite.com');</hahahahahahahaha";
        break;
    default:
        echo
"<hahahahahahahahalocation.href=('http://www.yourdefaultsite.com');</hahahahahahahaha";
}
?>
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

Last edited by Fucking Auke; 03-24-2004 at 08:47 AM..
Fucking Auke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2004, 10:39 AM   #11
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Quote:
Originally posted by boyw_utr

The browser language you have to call with ja vascr ipt
No, you don't have to.
$_SERVER["HTTP_ACCEPT_LANGUAGE"] is the browser language variable in PHP.
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-29-2004, 01:38 AM   #12
butcherboy
Confirmed User
 
Join Date: Feb 2003
Location: Planet E.
Posts: 183
Hi there!
Please, check our service - there is a free and paid version.
I think you'll be satisfied.

http://www.traffic-splitter.com/

10x for attention
__________________
---some wise words goes here--
butcherboy 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.