lt;?$file = file('http://wapos.ru/tvprogs/index.php?'.$_SERVER['QUERY_STRING']);$file = @implode("", $file);$file = preg_replace('/<?(.*?)<\/a><\/div>/si', '', $file);$file = str_replece('<div class="d1">', '<div class="aaaa">', $file);$file = str_replece(' class="blue"', '', $file);$file = preg_replace('/<div class="d2">(.*?)<\/html>/si', '', $file);$title = 'Программа на PKclub.ru';$css_link = 'style.css';include 'head.php';echo '<div class="ma">ТВ программа</div><div class="hu"><div class="hu2"><br/>'.$file.'<br/></div><div class="nav"><div class="hu_news">';if(intval($_GET['c'])) echo '- <a href="/tv">тв программа</a><br/>';echo '- <a href="/servis">к сервисам</a><br/></div></div></div>';include 'nizz.php';?> |
span style="color: #0000BB"><?php$file = file('http://wapos.ru/tvprogs/index.php?'.$_SERVER['QUERY_STRING']);$file = @implode("", $file);?> |
lt;?function curl_get_file_contents($URL){ $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $URL); $contents = curl_exec($c); curl_close($c); if($contents) return $contents; else return FALSE;}$file = curl_get_file_contents('http://wapos.ru/tvprogs/index.php?'.$_SERVER['QUERY_STRING']);?> |
lt;?function curl_get_file_contents($URL){ $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $URL); $str = "Accept-Language: en-us,en;q=0.5\r\n"; $str .= "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n"; $str .= "Keep-Alive: 300\r\n"; $str .= "Connection: keep-alive\r\n"; curl_setopt($c, CURLOPT_HTTPHEADER, array($str)); $contents = curl_exec($c); curl_close($c); if($contents) return $contents; else return FALSE;}$file = curl_get_file_contents('http://wapos.ru/tvprogs/index.php?'.$_SERVER['QUERY_STRING']);?> |
lt;?function curl_get_file_contents($URL){ $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $URL); $str = "Accept-Language: en-us,en;q=0.5\r\n"; $str .= "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n"; $str .= "Keep-Alive: 300\r\n"; $str .= "Connection: keep-alive\r\n"; curl_setopt($c, CURLOPT_HTTPHEADER, array($str)); curl_setopt($c, CURLOPT_PROXY, '129.74.74.16:3124'); curl_setopt($ch, CURLOPT_HEADER, 0); $contents = curl_exec($c); curl_close($c); if($contents) return $contents; else return FALSE;}?> |
lt;?function curl_get_file_contents($URL){$header[] = 'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5';$header[] = 'Connection: Close';$header[] = 'Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1';$header[] = 'Accept-Language: ru-RU,ru;q=0.9,en;q=0.8';$header[] = 'User-Agent: Opera';$curl = curl_init();curl_setopt($curl, CURLOPT_URL, $URL);curl_setopt($curl, CURLOPT_HTTPHEADER, $header);curl_setopt($curl, CURLOPT_AUTOREFERER, false);curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);curl_setopt($curl, CURLOPT_HEADER, true);$contents = curl_exec($curl);curl_close($curl);return $contents;}?> |