Nimm doch mal nen "deusch-nachhilfekurs" da lernst du dich "korrekt" auszudrücken. (Nicht böse gemeint)Snoopmore hat geschrieben:da biste nicht alleine.. ich hab auch mom probs mich korrekt auszudrücken..

Nimm doch mal nen "deusch-nachhilfekurs" da lernst du dich "korrekt" auszudrücken. (Nicht böse gemeint)Snoopmore hat geschrieben:da biste nicht alleine.. ich hab auch mom probs mich korrekt auszudrücken..
Code: Alles auswählen
// Search for Bots
if ( (substr($row['http_browser_agent'], 0, 9) == 'Googlebot') || (substr($row['http_browser_agent'], 0, 18) == 'slurp@inktomi.com;') || (substr($row['http_browser_agent'], 0, 16) == 'InternetSeer.com') || (substr($row['http_browser_agent'], 0, 15) == 'FAST-WebCrawler') || (substr($row['http_browser_agent'], 0, 18) == 'http://www.almaden') || (substr($row['http_browser_agent'], 0, 11) == 'ia_archiver'))
{
// BOt
// inc($botcount , 1);
if ((substr($row['http_browser_agent'], 0, 9) == 'Googlebot') && ( $bot_google != 1 ) )
{
if ($bottext != '') $bottext .= ', ';
$bottext .= 'Google';
$botcount = $botcount + 1;
$bot_google = 1;
}
if ((substr($row['http_browser_agent'], 0, 18) == 'slurp@inktomi.com;') && ( $bot_inktomi != 1 ) )
{
if ($bottext != '') $bottext .= ', ';
$bottext .= 'Inktomi';
$botcount = $botcount + 1;
$bot_inktomi = 1;
}
if ((substr($row['http_browser_agent'], 0, 16) == 'InternetSeer.com') && ( $bot_internetseer != 1 ) )
{
if ($bottext != '') $bottext .= ', ';
$bottext .= 'Internetseer';
$botcount = $botcount + 1;
$bot_internetseer = 1;
}
if ((substr($row['http_browser_agent'], 0, 15) == 'FAST-WebCrawler') && ( $bot_fast != 1 ) )
{
if ($bottext != '') $bottext .= ', ';
$bottext .= 'Fast';
$botcount = $botcount + 1;
$bot_fast = 1;
}
if ((substr($row['http_browser_agent'], 0, 18) == 'http://www.almaden') && ( $bot_ibm != 1 ) )
{
if ($bottext != '') $bottext .= ', ';
$bottext .= 'Ibm';
$botcount = $botcount + 1;
$bot_ibm = 1;
}
if ((substr($row['http_browser_agent'], 0, 11) == 'ia_archiver') && ( $bot_archiver != 1 ) )
{
if ($bottext != '') $bottext .= ', ';
$bottext .= 'Archiver';
$botcount = $botcount + 1;
$bot_archiver = 1;
}
}
else
{
// Kein Bot
// Skip multiple sessions for one user
if ($row['session_ip'] != $prev_session_ip)
{
$guests_online++;
}
}