PHP BOT YAPMAYI ÖĞRENMEK İSTİYORUM Lütfen Sağlam Bi kaynak verebilirmisiniz.
$site = file_get_contents('http://www.phpbot.net');
/*
$phpbot1 = explode('<title>',$site);
$phpbot1 = explode('</title>',$phpbot1[1]);
echo $phpbot1[0];
http://www.phpbot.net sitesindeki title html tagları arasındaki veriyi sana verir
*/
/*
preg_match('#<title>(.*?)</title>#si',$site,$phpbot1);
$phpbot1 = trim($phpbot1[1]);
echo $phpbot1;
http://www.phpbot.net sitesindeki title html tagları arasındaki veriyi sana verir
*/her ikiside aynı işlemi yapar mantık budur
bilmen gereken fonksiyonlar
file_get_contents yada curl kütüphanesi
explode
preg_match
preg_match_all
bu fonksiyonlar fazlası ile işini görür
hiç farklı kütüphanelere sınıflara yönelme daha fazla kafan karışır