sucker
08-30-2002, 05:43 AM
Does anyone know any good cgi, php no-leech script?
![]() | View Full Version : No-leech sucker 08-30-2002, 05:43 AM Does anyone know any good cgi, php no-leech script? anantatman 08-30-2002, 07:22 AM you mean to stop hotlinking of images? look on hotscripts.com. great resource for things like that. skylab 08-30-2002, 08:32 AM how about to stop hotlinking of mp3s? chuckt101 08-30-2002, 01:52 PM just use .htaccess RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com/.*$ [NC] RewriteRule \.(gif|jpg|mp3)$ - [F] sucker 08-30-2002, 03:41 PM but when visitors use right click and click save as target, it won't let them... edude 08-30-2002, 04:59 PM cgi.resourceindex.com php.resourceindex.com sucker 08-31-2002, 03:28 AM How do you make the leecher to go to a custom page when they are trying to leech the file? lovelie 08-31-2002, 05:02 AM RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC] RewriteCond %{REQUEST_URI} !^/theif.gif [NC] RewriteRule \.(gif|GIF|jpg|JPG)$ http://yourdomain.com/theif.gif [R] sucker 08-31-2002, 03:38 PM Hm.. how about I only dont want them to leech zip files? not images. The Prohacker 08-31-2002, 03:44 PM Originally posted by sucker Hm.. how about I only dont want them to leech zip files? not images. RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC] RewriteCond %{REQUEST_URI} !^/theif.gif [NC] RewriteRule \.(zip|ZIP)$ http://yourdomain.com/theif.gif [R] sucker 08-31-2002, 06:50 PM what if the website that I want to protect is www.wcgalaxy.com? What do I put? also how to make it when they are trying to leech a file, it will redirect them to a page. eyow 08-31-2002, 06:55 PM If it is wcgalaxy.com then replace all occurences in the script below to have wcgalaxy.com in place of yourdomain.com. :) Originally posted by The Prohacker RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/ [NC] RewriteCond %{REQUEST_URI} !^/theif.gif [NC] RewriteRule \.(zip|ZIP)$ http://yourdomain.com/theif.gif [R] sucker 08-31-2002, 07:16 PM how about redirect them to a page? like a custom page not the defult page btw what is this? theif.gif ??? do I need to make a image?? Sry for asking again. also can you dwonload from my wbsite is they right click and click save as target? Studio64 08-31-2002, 07:24 PM http://www.anti-leech.com/ Minus the pop-ups it's a great site... lovelie 08-31-2002, 07:27 PM Originally posted by sucker how about redirect them to a page? like a custom page not the defult page btw what is this? theif.gif ??? do I need to make a image?? theif.gif is the image they're redirected to. You can change it to theif.html & see if it'll work, I've never tried it though so don't know if it will. sucker 08-31-2002, 07:31 PM Originally posted by Studio64 http://www.anti-leech.com/ Minus the pop-ups it's a great site... my website has enough popups.. thx anyway:D sucker 08-31-2002, 07:37 PM hey, great it works really good is it possible to stop them when they are trying to paste the url into the new browser. Cuz it will let them now. sucker 09-02-2002, 02:08 AM possible? |