PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Paul Scott   Browser Detect   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: Browser Detect
Detects the user browser type and version
Author: By
Last change:
Date: 18 years ago
Size: 178 bytes
 

Contents

Class file image Download
<?php
//include the class file
include('browser_class_inc.php');
//instantiate the class
$b = new browser();
//find out which browser is connecting
print_r($b->whatBrowser());
?>