dose some one know of a scrip that will .......
| From: | danial | Date: | Mon, 27 Aug 2001 06:46:28 +0000 |
| Subject: | dose some one know of a scrip that will ....... | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-64585@lists.php.net to get a copy of this message | ||
dose some one know of a scrip that will stop someone from leeching my
images..
like. if someone downloads 4 picturs in 35 sec. he will be and for 60 sec.
im looking for something that will stop ppl for useing things like
http://www.quadsucker.com/quadweb/ ((
QuadSucker-Web )) - witch says to the
server it is a Mozilla/4.0 browser -to download my hole website it kills my
server when 2 or 3 ppl start to do it...
I Could use
<?
$browser = array ("Wget", "EmailSiphon",
"WebZIP","MSProxy/2.0","EmailWolf","webbandit","MS
FrontPage");
$punish = 0;
while (list ($key, $val) = each ($browser)) {
if (strstr ($HTTP_USER_AGENT, $val)) {
$punish = 1;
}
}
if ($punish) {
echo " <head>
<title>Access Denied</title>
</head>
<p>We're sorry. The software you are using to access our website is not
allowed.
Some examples of this are e-mail harvesting programs and programs that will
copy websites to your hard drive. If you feel you have gotten this message
in error, please send an e-mail addressed to admin. Your I.P. address has
been logged
Thanks.</p>
<BR>
-Yourname
<BR>
</body>
";
exit; } ?>
But dont do any good if the USER_AGENT stats it is a Mozilla/4.0
any help would be cool
thanks
danial lee smith
Danial, HTTP://WWW.CYBERHOTIES.COM