<?php $site = file_get_contents("http://www.siteadresi.com/"); $aranan = ('@<a href="urunliste.php\?kategori=2">(.*?)</a>@i'); $sayi = preg_match_all($aranan, $site, $ara); for($a=0; $a<$sayi; $a++){ echo $ara[1][$a]."<br>"; } ?>