Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=38623
Postga havola
Nodirali [944] [off]
[code]echo'<div class="phdr"><b>Futbol Yangiliklari</b></div>';
$file = file_get_contents('http://derbi.uz/index.php?'.$_SERVER['QUERY_STRING']);
$file = str_replace("news/index.php?","/football/news.php?",$file);
$file = str_replace('<?xml version="1.0" encoding="UTF-8" ?>','',$file);
$file = preg_replace('|<!DOCTYPE html(.*?)<div class="phdr"><b>So`nggi xabarlar</b></div>|si','',$file);
$file = preg_replace('|<div class="gmenu">(.*?)</html>|isu','',$file);
$file = str_replace('<div class="list1">','<div class="menu">',$file);
$file = str_replace('Derbi.Uz','Ahrorbek.Ga',$file);
[/code]
nega sahifaga chiqmayapti
$file = file_get_contents('http://derbi.uz/index.php?'.$_SERVER['QUERY_STRING']);
$file = str_replace("news/index.php?","/football/news.php?",$file);
$file = str_replace('<?xml version="1.0" encoding="UTF-8" ?>','',$file);
$file = preg_replace('|<!DOCTYPE html(.*?)<div class="phdr"><b>So`nggi xabarlar</b></div>|si','',$file);
$file = preg_replace('|<div class="gmenu">(.*?)</html>|isu','',$file);
$file = str_replace('<div class="list1">','<div class="menu">',$file);
$file = str_replace('Derbi.Uz','Ahrorbek.Ga',$file);
[/code]
nega sahifaga chiqmayapti