Labrit.
Es velos realizet sekojosu ideju:
Man ir Html lapa kuras saturs tiek automatiski atjaunots izmantojot ieprieksh izveidotu template. sauksim to par index1.html
un tad ir divas citas lapas, kurās es vēlos ievietod kādu konkrētu daļu no index1.html satura.
piemeram:
index1.html satur a, b, c, d
es velos index2 lapa ievietot a
es velos index3 lapā ievietot c
index2 un index3 formatam nav nozimes, tas var but gan html, gan php u.c.
lidz sim esmu ticis sitik talu, bet neesmu drošs, ka tas ir pareizais celš, jo te janorada RANGE baitos, savukart saturs ir mainiigs tatad neder..
<?php
//Set it to fetch
$context=array('http' => array ('header'=> 'Range: bytes=1500-12999', ),);
$xcontext = stream_context_create($context);
//Now put the response to $str
$str=file_get_contents("test1.html",FALSE,$xcontext);
//print str
echo $str;
?>
Lūdzu palīdziet tikt ar šito galā, jo pats nespēju saprast risinājumu..!