Browser Bezeichnungen?



  • Hi, vielleicht hat der eine oder Andere schon mitbekommen, das ich versuche in Programm zu schreiben das Browser Bezeichnungen erfasst und gekürzt ausgibt!

    Nun das ist ein anderes Theman aber, ich hab schon mal bissl weiter gedacht und mir ist eingefallen das ich bei manchen angaben in meinem file nicht weiß um welchen browser es sich eig. handelt?!

    Gibt es irgendwo eine Liste, wo man nachlesen kann wie z.b. der IE 6.0 erfasst wird über PHP - / Apache bzw. wie diese gelesen werden?

    Kleiner auszug aus der txt datei mit meinen Browserdaten:

    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; AtHome033; SV1)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; ESB{1AA6D75B-C13D-4056-C786-F394AF0C16C9}; ESB{17004370-938E-48BE-B146-8CAB5CC28F47}; SV1; .NET CLR 1.0.3705)"
    "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"


  • Mod

    Du könntest ein PHP-Script erstellen, dass den Inhalt von HTTP_USER_AGENT in eine Textdatei speichert und dann diese Seite mit verschiedenen Browsern aufrufen.

    Ansonsten findest du sowas sicher im Internet unter "User Agent Strings" oÄ.

    MfG SideWinder



  • gut danke ich werde mal bisschen googlen! Wenn jemand anders noch anmerkungen hat oder gar nen link pls posten :D!

    http://www.biocrawler.com/encyclopedia/User_agent#Example_user-agent_strings

    wens interessiret da is ne kleine liste 😉 aber net aktuell ^^



  • Welchen Browser
    Dieses Script gibt den Browser des aktuellen Besuchers aus.

    <?php
       if (ereg( 'MSIE',$HTTP_USER_AGENT))
          if (strstr($HTTP_USER_AGENT,'MSIE 5.0'))        
             echo "IE5";
          elseif (strstr($HTTP_USER_AGENT,'MSIE 5.5'))       
             echo "IE55";
          elseif (strstr($HTTP_USER_AGENT,'MSIE 6.0'))        
             echo "IE6";
          else
             echo "IE";
          elseif (ereg( 'Opera',$HTTP_USER_AGENT))
             echo "Opera";
          elseif (ereg( 'Mozilla/([0-9].[0-9]{1,2})',$HTTP_USER_AGENT))
             echo "Mozilla";
          else
             echo "Other";     
    ?>
    

Anmelden zum Antworten