connect('127.0.0.1'); //$key=date("y-m-d h:i"); //$redis->hIncrby("server_load",$key,1); /* if (substr($_SERVER['REMOTE_ADDR'],0,7)=='158.69.'){ header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500); die(); } define ("REDIS_SERVER","vps1"); $gbot=false; $ybot=false; $ghit=false; $yhit=false; $cc=false; if (isset($_SERVER['HTTP_CF_IPCOUNTRY'])) $cc=strtolower($_SERVER['HTTP_CF_IPCOUNTRY']); if (!$cc && isset($_SERVER['GEOIP_COUNTRY_CODE'])) $cc=strtolower($_SERVER['GEOIP_COUNTRY_CODE']); if (isset($_SERVER['HTTP_HOST'])){ if (isset($_SERVER['HTTP_REFERER'])){ if (strpos($_SERVER['HTTP_REFERER'],'google.')) $ghit=true; if (strpos($_SERVER['HTTP_REFERER'],'yandex.')) $yhit=true; } if (isset($_SERVER['HTTP_USER_AGENT'])){ $ua=strtolower($_SERVER['HTTP_USER_AGENT']); if (strpos($ua,'google')!==false && strpos($ua,'bot')) $gbot=true; if (strpos($ua,'yandex.com/bot')){ $ybot=true; $uri=isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'/unknow'; if (preg_match('~/[\w]{2}/~',$uri,$matches)){ $lang=strtolower($matches[0]); // file_put_contents("/home/__NGINX__/log.txt",$lang . "\n",FILE_APPEND); if ($lang!='/ru/' && $lang!='/tr/' && $lang!='/en/'){ // if ($_SERVER['REMOTE_ADDR']=='188.43.227.13') file_put_contents("/home/__NGINX__/log.txt","!",FILE_APPEND); header("Location: /\n\n",301); die(); } } // } } if ($gbot || $ybot || $ghit || $yhit){ $host=str_replace('www.','',strtolower($_SERVER['HTTP_HOST'])); //if ($ghit && $host=='xxxchip.icu'){ //file_put_contents("/home/__NGINX__/chip.log",date("Y-m-d H:i:s") . "\t" . $_SERVER['REQUEST_URI'] . " \t" . $ua . "\n",FILE_APPEND); //} try { $redis=new Redis(); $redis->connect(REDIS_SERVER, 6379, 2.5); } catch (Exception $e) { if (time()>file_get_contents("/home/__NGINX__/telegramm.time")+60){ file_put_contents("/home/__NGINX__/telegramm.time",time()); $text="Warning! Problem in server_logger while connecting to redis! (".REDIS_SERVER.")" . $e->getMessage(); $res=file_get_contents("https://api.telegram.org/bot700369798:AAGTBdQoKrlN1tgAwaQtXPBD_-kR-RoA0fE/sendMessage?chat_id=63513021&text={$text}"); $res=file_get_contents("https://api.telegram.org/bot700369798:AAGTBdQoKrlN1tgAwaQtXPBD_-kR-RoA0fE/sendMessage?chat_id=171430341&text={$text}"); } } try{ $uri=isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'/unknow'; if ($gbot) $redis->hIncrBy("site-googlebot",$host,1); if ($ybot) $redis->hIncrBy("site-yandexbot",$host,1); if ($ghit) { $redis->hIncrBy("site-googlehit",$host . $uri,1); if ($cc) $redis->hIncrBy("site-se-lang","google|$cc|$host|$uri",1); } if ($yhit){ $redis->hIncrBy("site-yandexhit",$host . $uri,1); if ($cc) $redis->hIncrBy("site-se-lang","yandex|$cc|$host|$uri",1); } } catch (Exception $e) { if (time()>file_get_contents("/home/__NGINX__/telegramm.time")+60){ file_put_contents("/home/__NGINX__/telegramm.time",time()); $text="Warning! Problem in server_logger while conecting to redis! ((".REDIS_SERVER."))" . $e->getMessage(); $res=file_get_contents("https://api.telegram.org/bot700369798:AAGTBdQoKrlN1tgAwaQtXPBD_-kR-RoA0fE/sendMessage?chat_id=63513021&text={$text}"); $res=file_get_contents("https://api.telegram.org/bot700369798:AAGTBdQoKrlN1tgAwaQtXPBD_-kR-RoA0fE/sendMessage?chat_id=171430341&text={$text}"); } } } } */ ?> Milf masturbation

Most accessed videos:

Other great videos: