WordPress codeproject.com BOT
http://www.codeproject.com/Tags/PHP buradaki makaleleri alır TAGS/ASP yaparsanız asp deki makaleleri alır. <?php set_time_limit(0); // require wp-load.php to use built-in WordPress functions require_once("wp-load.php"); /******************************************************* ** POST VARIABLES *******************************************************/ function getData($data,$startTag,$finishTag){ $data= explode($startTag,$data); $data= $data[1]; $data= explode($finishTag,$data); $data= $data[0]; return $data; } $site = "http://www.codeproject.com/Tags/PHP"; $data = file_get_contents($site); preg_match_all('/<div class="content-list-item">.*?>.*?<\/table>/si', $data, $download); foreach($download as $d) { $toplam = count ($d); for ($i = 0; $i <= $toplam; $i++) { $sitegelen= getData($d[$i],'href="','"'); $sitegelen='