Make extra money from your bad script traffic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nation-x
    Confirmed User
    • Mar 2004
    • 5370

    #1

    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!
    Icq: 14420613
    • Mar 2001
    • 15427

    #2
    turn on your icq when you get a min buddy
    Need WebHosting ? Email me for some great deals [email protected]

    Comment

    • yuu.design
      Too lazy to set a custom title
      • Mar 2006
      • 25308

      #3
      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

      Comment

      • fusionx
        Confirmed User
        • Nov 2003
        • 4618

        #4
        What about:

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

        Comment

        • nation-x
          Confirmed User
          • Mar 2004
          • 5370

          #5
          Originally posted by fusionx
          $NATIONX_URL= 'http://www.gayfriendfinder.com'; //send it somewhere else
          you making fun of my sexuality now?




















































          Comment

          • fris
            I have to go potty
            • Aug 2002
            • 55729

            #6
            nice piece of code
            Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

            My Latest Theme

            Comment

            • nation-x
              Confirmed User
              • Mar 2004
              • 5370

              #7
              Originally posted by fris
              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.

              Comment

              Working...