Anti-Leech
Jeg Har Et Anti-Leech Script Jeg Ikke Kan Få Til At Virke. Det Ser Sådan Her Ud.<?php
$ADMIN[defaulturl] = "http://www.The-Exterminator.dk";
$okaysites = array("http://www.The-Exterminator.dk","www.The-Exterminator.dk"" target="_blank">http://www.www.The-Exterminator.dk");
$ADMIN[url_1] = "http://www.The-Exterminator.dk/1/";
//////////////////////////////////////////////////////
$reffer = $HTTP_REFERER;
if($reffer) {
$yes = 0;
while(list($domain, $subarray) = each($okaysites)) {
if (ereg("$reffer",$subarray)) {
$yes = 1;
}
}
$theu = "url"."_"."$site";
if ($ADMIN[$theu] AND $yes == 1) {
header("Location: $ADMIN[$theu]/$file");
} else {
header("Location: $ADMIN[defaulturl]");
}
} else {
header("Location: $ADMIN[defaulturl]");
}
?>
Læse Filen Man SKal Gå Efter Ser Sådan Her Ud.
It only takes 3 easy steps to setup this script
1, Open download.php and edit these 3 varibles
$ADMIN[defaulturl] = It will redirect people to this url if they are trying to link to your downloads off there site
@okaysites = sites which can download files off your site
$ADMIN[url_1] = A location to a download folder with some downloads in it
(to add more download locations just put on a new line in the script)
$ADMIN[url_4] = "http://site.com";
$ADMIN[url_5] = "http://site.com";
$ADMIN[url_6] = "http://site.com";
and keep going up a number for as many as you want
2, Upload the script to your website
3, Now just link to the download you want by doing http://yoursite.com/download.php?site=1&file=thefile.zip
On that link it has ( site=1 ) that means it calls the download location ( $url_1 )
just change it to what you want so it calls the correct folder
Du Kan Se På www.The-Exterminator.dk/1/1.htm Hvad Den Gør, Den Hopper Til $ADMIN[defaulturl] Uandset Hvad Jeg Gør, Syntes jeg Har Prøvet Alt.
Håber Der Er En Der Kan Hjælpe Mig, Eller Har Et Andet Anti-Leech Script Der Virker, Og Ikke Fylder For Meget.
Hilsen The-Exterminator
