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)
-   -   Make extra money from your bad script traffic (https://gfy.com/showthread.php?t=917359)

nation-x 07-22-2009 01:35 PM

Make extra money from your bad script traffic
 
I use TP on most of my sites and I set up a little scheme to sort that traffic. I figured I would give you an example:

First... you need to create 2 scripts.

test.php - make sure to replace <yourdomain> with the domain this script lives on
Code:

<?php
setcookie('test', 'yahoo', time() + 84600, '/', ".<yourdomain>.com");
header('location: /redirect.php');
?>

redirect.php
Code:

<?php
$LANDING_URL = 'http://www.landingpage.com'; //landing page with fpa's or some promo
$TRAFFIC_URL = 'http://www.trafficbroker.com'; //traffic broker
$MOBILE_URL = 'http://www.mobilesponsor.com/'; //a sponsor like topbuck pinkvisual mobile or GTS Mobi
// Do not edit below
$WORDS = array('mobile', 'blackberry', 'j2me', 'webos', 'windows ce', 'android', 'palm', 'PSP');
$is_mobile = FALSE;
foreach ($WORDS as $w) {
        if (isset($_SERVER['HTTP_USER_AGENT']) && stripos($_SERVER['HTTP_USER_AGENT'], $w)) {
                $is_mobile = TRUE;
                break;
        }
}
if ($is_mobile) {
        header('Location: ' . $MOBILE_URL);
}

$has_cookie = eregi('yahoo', $_COOKIE['test']);
$is_proxy = getenv('HTTP_X_FORWARDED_FOR');
$has_referer = eregi('http', $_SERVER['HTTP_REFERER']);
if ($has_cookie && !$is_proxy && $has_referer) {
        header('Location: ' . $TRAFFIC_URL);
}
else {
        header('Location: ' . $LANDING_URL);
}
?>

Then in your trade script (if it supports it) you would put http://www.yourdomain.com/test.php as the out url for the bad traffic

You can set up a landing page like this one. to use for the $LANDING_URL

For the $TRAFFIC_URL I recommend using the RAWS program by FpcTraffic because you don't have to worry about unsold traffic and I average about $2.26/k for this type of traffic. I have compared other brokers and they are in the same range but send back unsold.

For $MOBILE_URL There are alot of different mobile traffic programs. Currently I am using GTS Mobi.

In TP I set the following to go to this script.
After visiting all trades
nocookie traffic
noref_out traffic
filtered traffic
fast clicks
proxy traffic
notcounted traffic
no img traffic

sandman! 07-22-2009 01:36 PM

turn on your icq when you get a min buddy

yuu.design 07-22-2009 02:21 PM

cool trick doode, thanks!

fusionx 07-22-2009 03:02 PM

What about:

Code:

$is_nationx_site = eregi('nationx', $_SERVER['HTTP_REFERER']);
$NATIONX_URL= 'http://www.gayfriendfinder.com'; //send it somewhere else

nation-x 07-22-2009 03:54 PM

Quote:

Originally Posted by fusionx (Post 16094991)
$NATIONX_URL= 'http://www.gayfriendfinder.com'; //send it somewhere else

you making fun of my sexuality now? :321GFY :mad::mad::mad:




















































:1orglaugh:1orglaugh:1orglaugh

fris 07-22-2009 04:40 PM

nice piece of code

nation-x 07-22-2009 07:53 PM

Quote:

Originally Posted by fris (Post 16095338)
nice piece of code

Most of it I got from GTS. i am not taking credit for it... although there isn't really anything special about it lol.


All times are GMT -7. The time now is 08:52 PM.

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