PDA

View Full Version : anti-leech



spork
March 3rd, 2002, 03:59
I need a download protector, or anti-leech script or whatever you like to call it, preferably in php, it must be able to allow access from multiple domains, and to have more than one download folder, because i wonīt be having everything in the same place, it gets messy...

i fount this which seemed to be perfect for me, the only problem is it doesnīt work... or should i say it works too well... :)
it does redirect to my main page if people try to access my files from outside my site, the problem is it does the same even if you try to access it from my site, or one of the allowed domains...
http://www.phpscriptcenter.com/downloadprotector.php

ah, enough of my rambling, if you know of any good antileech script, preferably in php thats free let me know...

alien
March 4th, 2002, 03:48
you can find it at www.hotscripts.com

spork
March 4th, 2002, 05:04
no i canīt...

Jan
March 4th, 2002, 06:07
When in doubt, google :)

Take your pick (http://www.google.com/search?hl=en&q=antileech+script&btnG=Google+Search)

spork
March 4th, 2002, 06:50
Iīve done google, hotscripts, php.resourceindex.com and a dozen other script sites...

Iīve found and tried god knows how many scripts, and they all either donīt work, or donīt have the features i need... :(

ac3
March 4th, 2002, 06:58
Originally posted by spork
Iīve done google, hotscripts, php.resourceindex.com and a dozen other script sites...

Iīve found and tried god knows how many scripts, and they all either donīt work, or donīt have the features i need... :(
then write your own!

spork
March 4th, 2002, 07:05
Originally posted by ac3

then write your own!

that would require me to learn more php than i do now... and that would take a little too much time...

i did try yesterday, but failed miserably... :)

_Street_Fighter
March 4th, 2002, 12:04
learn to look harder... (http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Download_Systems/)

spork
March 4th, 2002, 12:59
Originally posted by _Street_Fighter
learn to look harder... (http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Download_Systems/)


Iīve done google, hotscripts, php.resourceindex.com and a dozen other script sites...

Iīve found and tried god knows how many scripts

TOMAZAS
March 4th, 2002, 16:21
http://www.schlabo.com/download/

They have a very good antileecher ! You get Top Downloads and other good stuff, worse that it is written in Perl :(

spork
March 4th, 2002, 18:54
yeah, thanks, i have a few other cgi scripts i havenīt tried, that i will try if there are no good scripts to be found in php... iīll keep looking for php scripts a little longer though...

spork
March 11th, 2002, 10:46
okey, so i installed schlaboo and it works fine for about five minutes, i change a few settings add a few downloads and pow! i get a window that the path to images is wrong so i go to the general settings to find everything blank...

it has done this 3 times already... and its starting to annoy me a bit... i havenīt given up on it yet but if anyone know any other good anti leech scripts no matter what language theyīre written in iīm interested...

the good thing with schlabo was that the anti leech did work, a bad thing is that it redirects you to a page that transfers you to the download...

niv
March 11th, 2002, 19:01
Gawd, just create a PHP script with an array that corresponds to whatever code you pass as a parameter for the MIME type...sheesh, how hard can it possibly be? :rolleyes:

Same with Perl, easy as heck. [I've written quite a few Perl ones]

ducktape
March 11th, 2002, 20:14
how about an .htaccess file??? there are some on hotscripts.com i found some but dont remember where.

also try this

http://php.resourceindex.com/Complete_Scripts/File_Management/Link_Protection/

spork
March 11th, 2002, 20:51
.htaccess wonīt work for this since the files (winamp skins, screen savers, music and whatever else rpg related stuff i find and want to put on my site) will be placed on servers where .htaccess isnīt allowed...

ducktape
March 11th, 2002, 23:33
well i also provided a link for php scripts

is0lized
March 12th, 2002, 04:33
they allow php but not htaccess?

contact your host and ask if you can have them do it for you, heres the code



RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?is0lized.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://is0lized.net/.*$ [NC]
RewriteRule .(gif|jpg|zip|exe|mp3|wav|mpeg|mpeg|asf)$ - [F]


Rewrite rule says what kind of files you don't want hotlinked, and the http_referer is is to say what addy you want to allow files for... just add two more HTPP_REFERERs if you want to allow more then two links to hotlink your files

spork
March 12th, 2002, 09:03
Originally posted by michael p bennett
well i also provided a link for php scripts

and i have already been there as stated earlier in this post... :(


Originally posted by is0lized
they allow php but not htaccess?

no, the host the files will be on donīt have php, .htaccess or anything really...

is0lized
March 12th, 2002, 09:06
why you looking for a cg/ php anti leech then:confused: :confused: :confused: :confused:

spork
March 12th, 2002, 09:13
to protect the links on my site...

is0lized
March 12th, 2002, 09:22
but you dont have cgi / php access:confused:

spork
March 12th, 2002, 09:30
eh, yes i do, the host where my site is at has php, mysql and cgi...

ducktape
March 12th, 2002, 11:28
i thought you just said they dont have anything really. but the have php....

spork
March 12th, 2002, 12:00
i said the host the files will be on has nothing... the host my site is on has php, mysql and cgi...

spork
March 13th, 2002, 05:37
yes! finally found one that works without any problems... the cgi counterpart to the first script i tried, it does the exact same thing... the only difference is that its in perl, and it works.... :)