View Single Post
Old 04-21-2008, 07:23 PM  
rogerrabbit00
Confirmed User
 
Industry Role:
Join Date: Aug 2006
Location: Costa Rica
Posts: 315
Here is a good script to see if a sponsor is shaving you. All traffic sent to this script will be equally split over 2 traffic urls that you enter. To make sure you are not getting shaved test sponsors against each other.

Script:

<?

$url_a = 'http://www.aol.com';
$url_b = 'http://www.gfy.com';
$goto = '';

$shm_key = ftok(__FILE__, 't');
$shm_id = shmop_open($shm_key, "c", 0644, 100);

$data = shmop_read($shm_id, 0, 1);

if (($data!='1') && ($data!='2'))
{
$shm_bytes_written = shmop_write($shm_id, '1', 0);
$data = 1;
}

if ($data=='1')
{
$goto = $url_a;
$bw = shmop_write($shm_id, '2', 0);
}
if ($data=='2')
{
$goto = $url_b;
$bw = shmop_write($shm_id, '1', 0);
}

shmop_close($shm_id);
//echo 'Redirecting to: '.$goto.'!';
header('Location: '.$goto);
die();


?>
__________________
Dating Email Traffic for Sale. www.SplitTraffic.com

Skype: Rogerwilson00
rogerrabbit00 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote