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 wink

Re: Question for Bâshrat the Sneaky

Bump

Re: Question for Bâshrat the Sneaky

He ain't around that often so show some patience, please (or drop him an email).

Re: Question for Bâshrat the Sneaky

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.
}
?>

Re: Question for Bâshrat the Sneaky

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

Re: Question for Bâshrat the Sneaky

he did... it is in the code tags above...

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Question for Bâshrat the Sneaky

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.

Founder of DriverPacks.net — wimleers.com

Re: Question for Bâshrat the Sneaky

Ok il drop you a mail wink
Can you also explain in it how should I integrate it ? smile
lawlrulez(@t)gmail(dot.)com

Re: Question for Bâshrat the Sneaky

richnou wrote:

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 wink

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.

Re: Question for Bâshrat the Sneaky

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 :')

Re: Question for Bâshrat the Sneaky

Oh, right. You can e-mail me at admin {at} driverpacks.net

Founder of DriverPacks.net — wimleers.com