File: how_to_use.php

Recommend this page to a friend!
  Classes of Richard Toth  >  Browser Info  >  how_to_use.php  >  Download  
File: how_to_use.php
Role: Example script
Content type: text/plain
Description: Example of use
Class: Browser Info
Parse the HTTP user agent to get browser details
Author: By
Last change:
Date: 17 years ago
Size: 232 bytes
 

 

Contents

Class file image Download
<?
$user
= new BrowserInfo($_SERVER["HTTP_USER_AGENT"]);

echo
$user->OS."\n";
echo
$user->OS_Version."\n";
echo
$user->Browser."\n";
echo
$user->Browser_Version."\n";
echo
$user->NET_CLR."\n";
echo
$user->Resolved."\n";
?>


For more information send a message to info at phpclasses dot org.