1. sayfa
<head> <title>MERHABA HABER BOTU </title> </head> <body> <?php $site=file_get_contents("http:/"); preg_match_all('@<span class="ti">(.*?)</span>@si',$site,$baslik); preg_match_all('@<span class="spot">(.*?)</span>@si',$site,$icerik); preg_match_all('@<img src="http://i.ensonhaber.com/resimler/thumb/(.*?)" alt="(.*?)">@si',$site,$resim); echo $resim[0][0]; echo '<br>'; echo $baslik[0][0]; echo '<br>'; echo $icerik[0][0]; echo '<br>'; echo $resim[0][1]; echo '<br>'; echo $baslik[1][1]; echo '<br>'; echo $icerik[1][1]; //print_r($resim); ?> </body> </html>
Buyrun arkadaşlar
< Bu mesaj bu kişi tarafından değiştirildi Guest-E90F2B1F7 -- 8 Ağustos 2014; 16:05:03 >