-
PHP
(
https://www.ircforumlari.net/php/)
GoogleBot Algılamak PHP- Kodu: <?php
if ( strstr($_SERVER['HTTP_USER_AGENT'], "Googlebot" ) == true ){
//googlebot olarak gözüküyor, ama doğru mu ? gerçek bot mi yani
$host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
if ( substr($host, (strlen($host)-13)) == 'googlebot.com' )
//gerçek bot
else
//sahte bot
}
?> Alıntıdır. |
Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 12:01. | |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk