Category: >> PHP Code >> Browser sniffer / detector Bookmark and Share

<< lastnext >>

Snippet Name: Browser sniffer / detector

Description: Simple code that displays the HTTP_USER_AGENT of the client.

Comment: (none)

Author: CoderZone
Language: PHP
Highlight Mode: PHP
Last Modified: March 01st, 2009

$useragent = $_SERVER ['HTTP_USER_AGENT'];
 echo "<b>Your User Agent is</b>: " . $useragent; 
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© | users online: 5