ajlowe Posted January 3, 2005 Posted January 3, 2005 I have added an extra bot or two and some IP's I found hitting my site. Here his the code I changed if anyone else is interested. ------------------------------------------------------------------------------------- // MSNBot else if (strncmp($whos_online['ip_address'], "65.54.188", 9) == 0 || strncmp($whos_online['ip_address'], "207.68.146.56", 9) == 0 || strncmp($whos_online['ip_address'], "207.46.98.129", 9) == 0 ) { ?> <td class="dataTableContent" align="center">MSNBot</td> <?php $total_bots++; } // eXavaBot else if (strncmp($whos_online['ip_address'], "64.124.85", 9) == 0 ) { ?> <td class="dataTableContent" align="center">eXavaBot</td> <?php $total_bots++; } // FastSearch.com else if (strncmp($whos_online['ip_address'], "194.224.199.53", 9) == 0) { ?> <td class="dataTableContent" align="center">FastSearch.com</td> <?php $total_bots++; } // Yahoo else if (strncmp($whos_online['ip_address'], "66.196.90", 9) == 0 || strncmp($whos_online['ip_address'], "66.196.91", 9) == 0 || strncmp($whos_online['ip_address'], "66.196.73", 9) == 0) { ?> <td class="dataTableContent" align="center">Inktomi/<br>YahooBot</td> <?php $total_bots++; } // GoogleBot else if (strncmp($whos_online['ip_address'], "66.249.78", 9) == 0 || strncmp($whos_online['ip_address'], "66.249.79", 9) == 0 || strncmp($whos_online['ip_address'], "66.249.68", 9) == 0 || strncmp($whos_online['ip_address'], "66.249.69", 9) == 0 || strncmp($whos_online['ip_address'], "66.249.64", 9) == 0 || strncmp($whos_online['ip_address'], "64.68.85", 8) == 0 || strncmp($whos_online['ip_address'], "64.68.84", 8) == 0) { ?> ------------------------------------------------------------------------------------- Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.