Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2006-01-10 03:08
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());
?>