PHP Classes

File: example2.php

Recommend this page to a friend!
  Classes of Md. Shahadat Hossain Khan Razon   Browser Environment Detection   example2.php   Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: Browser Environment Detection
Detect browser size and other characteristics
Author: By
Last change:
Date: 11 years ago
Size: 986 bytes


Class file image Download



$browser=new clientBrowserDetection();

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Browser detection</title>

<script type='text/javascript'>
<!-- BEGIN


// End -->

<h3>$browser->getBrowserInformation()</h3><?php print_r($browser->getBrowserInformation()); ?>
<h3>$browser->browser_info_php</h3><?php print_r($browser->browser_info_php); ?>
<div class="test_div">this is a test div that automatically control thorugh dynamic css of this browser detection control</div>