|   |   |   | ||||
| 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 | 
|  07-22-2009, 01:35 PM | #1 | 
| Confirmed User Industry Role:  Join Date: Mar 2004 Location: Rock Hill, SC 
					Posts: 5,370
				 | 
				
				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');
?>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);
}
?>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 | 
|   |           | 
|  07-22-2009, 01:36 PM | #2 | 
| Icq: 14420613 Industry Role:  Join Date: Mar 2001 Location: chicago 
					Posts: 15,432
				 | turn on your icq when you get a min buddy 
				__________________ Need WebHosting ? Email me for some great deals [email protected] | 
|   |           | 
|  07-22-2009, 02:21 PM | #3 | 
| Too lazy to set a custom title Industry Role:  Join Date: Mar 2006 Location: Argentina 
					Posts: 25,924
				 | cool trick doode, thanks! 
				__________________ Beautiful And Usable Web Design Creations For The Adult Industry Since 2003 I'm Yuu, Designer and Content Producer Paysites - Affiliate Programs - Dating & Cam Sites - Mainstream Projects - Tube Sites - Banners - Wordpress Themes - NATs integration - Landing Pages Check my Portfolio and Content Production Offers | 
|   |           | 
|  07-22-2009, 03:02 PM | #4 | 
| Confirmed User Industry Role:  Join Date: Nov 2003 Location: Olongapo City, Philippines 
					Posts: 4,618
				 | What about: Code: $is_nationx_site = eregi('nationx', $_SERVER['HTTP_REFERER']); | 
|   |           | 
|  07-22-2009, 03:54 PM | #5 | 
| Confirmed User Industry Role:  Join Date: Mar 2004 Location: Rock Hill, SC 
					Posts: 5,370
				 | |
|   |           | 
|  07-22-2009, 07:53 PM | #7 | 
| Confirmed User Industry Role:  Join Date: Mar 2004 Location: Rock Hill, SC 
					Posts: 5,370
				 | |
|   |           |