View Full Version : Script for gallery shaving.
xApster
12-12-2001, 12:26 AM
I am looking for a script that sends a sufer say the first 2 clicks to galleries and then the 3rd click to a trade or whatever you want and was wondering if there was such a script ?
Thanks
subog
12-12-2001, 02:04 AM
I can custom one for you...
icq me 135177160
dbarry
12-12-2001, 02:04 AM
http://www.dot5productions.com
subog
12-12-2001, 02:34 AM
<?php
$sout = 'http://www.domain.com/out.cgi'; // Url of your out script
$num = 2; // number of click
// $url=gallery url, $p=percentage
// http://www.domain.com/out.php?url=http://www.gallery.com/fuck.htm&p=60
// http://www.domain.com/out.php => will automate redirect to your out script
// http://www.domain.com/out.php?url=http://www.gallery.com/fuck.htm => will always goto gallery url
$track = $HTTP_COOKIE_VARS["track"];
if ($url) {
if ( (rand(0,100) < $p) or !$p or ($track <= $num) ) {
if (!$track) $x=1;
else $x=$track+1;
setcookie("track", $x);
header("Location: $url");
exit;
}
}
header("Location: $surl");
exit;
;?>
subog
12-12-2001, 02:38 AM
test it out... :)
subog
12-12-2001, 02:42 AM
oh... p=## is the skimming option.
You can remove all the comments to save some bytes :D
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.