View Single Post
Old 07-30-2001, 01:03 AM   #26
Registered User
Join Date: Feb 2001
Location: St Petersburg, FL
Posts: 75

Here's a nice little php command for those of you wanting to use it:
<?php $user_agents = array('Flashget', 'Offline', 'Teleport', 'Downloader', 'reaper', 'WebZIP', 'Website Quester',
'MSIECrawler', 'FAST-WebCrawler', 'Gulliver', 'WebCapture', 'HTTrack', 'Fetch API Request', 'NetAnts', 'SuperBot',
'WebCopier', 'Web********'); foreach ($user_agents as $usr_agt) if (preg_match("/$usr_agt/i", $HTTP_USER_AGENT)) die("Sorry,
these bots destroy our bandwidth and webserver, please refrain from using them on our site"); ?>

It doesn't work 100%, but rather about 75%. Still a nice way to keep your bandwidth down.
mcsebraindumps is offline