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 07-22-2009, 01:35 PM   #1
nation-x
Confirmed User
 
nation-x's Avatar
 
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');
?>
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
nation-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2009, 01:36 PM   #2
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
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]
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2009, 02:21 PM   #3
yuu.design
Too lazy to set a custom title
 
yuu.design's Avatar
 
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
yuu.design is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2009, 03:02 PM   #4
fusionx
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']);
$NATIONX_URL= 'http://www.gayfriendfinder.com'; //send it somewhere else
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2009, 03:54 PM   #5
nation-x
Confirmed User
 
nation-x's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
Quote:
Originally Posted by fusionx View Post
$NATIONX_URL= 'http://www.gayfriendfinder.com'; //send it somewhere else
you making fun of my sexuality now?




















































nation-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2009, 04:40 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
nice piece of code
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2009, 07:53 PM   #7
nation-x
Confirmed User
 
nation-x's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
Quote:
Originally Posted by fris View Post
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.
nation-x 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.