Topic: Question for Bâshrat the Sneaky
Hi,
I found on the main site the anti leeching page and i wan't to know if u can tell me where did you find it and how does it works.
Thanks in advance
You are not logged in. Please login or register.
Hi,
I found on the main site the anti leeching page and i wan't to know if u can tell me where did you find it and how does it works.
Thanks in advance
Bump
He ain't around that often so show some patience, please (or drop him an email).
his anti leeching page is based on a check of the HTTP referer value - if it isn't set to a predefined page (another URL of this site) then the browser is redirected to the antileech page. if it IS the correct page, the download proceeds.
a simple PHP snippet could be:
<?
if($_SERVER["referer"] != "http://www.driverpacks.net/viewtopic.php?id=2519"){
header("location: /leechers.php");
}else{
//code to send file to client.
}
?>
I'm not very familiar with php script but can you tell me how to make a script to download from a page named http://www.a.com/bla.bla to a file named http://www.a.com/bla.zip else it go to the http://www.a.com/leech.html ?
Yes i'm lazy to learn script coding right now
he did... it is in the code tags above...
Yep, it's like josste describes. Only I'm doing it in a .htaccess file. If you drop me an e-mail, I'll send you my current .htaccess file.
Ok il drop you a mail
Can you also explain in it how should I integrate it ?
lawlrulez(@t)gmail(dot.)com
lawlrulez(@t)gmail(dot.)com
If you fear spam bots or w/e, you do not have to give out your email address as it can be seen (by Mods/Admins only, I believe) in the personal info field on the very left of your post
Regular users can still drop you an email via the forum email function without being able to see it (it's kinda annonymous), so a bot couldn't grab it from there, either (hence no need to fear).
Just FYI.
It's my spam mail with some filtering no i don't take care off spamming on it ^^
But maybe it'll be hard to find Bashrat mail :')
Oh, right. You can e-mail me at admin {at} driverpacks.net
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.
[ Generated in 0.028 seconds, 11 queries executed ]