w38g0ru
Collection of MySQL, PHP, jQuery Code Snippets for webguru
Pages
(Move to ...)
Home
▼
Get the visitor browser-type
This method tests the $_SERVER vars for an HTTP_USER_AGENT entry. Through a series of if statements, preg_match, and regex patterns, a browser-type will be returned. If a browser-type is unable to be determined 'other' will be used in it's place.
‹
›
Home
View web version