View Single Post
Old 12-09-2005, 04:56 AM   PM User | #5
Element
Regular Coder

 
Element's Avatar
 
Join Date: Jul 2004
Location: Lynnwood, Washington, US
Posts: 855
Thanks: 2
Thanked 2 Times in 2 Posts
Element is an unknown quantity at this point
This is deffinately very usefull. I like the first example, it has both outputs and you can still limit by browser, for example:

PHP Code:
<?php

$browser 
browser($_SERVER['HTTP_USER_AGENT']);
if(
$browser['name'] == 'Internet Explorer' || $browser['version'] == '4.0.0') { // Not sure if it would come out 4.0 or 4.0.0
  
die("We're sorry, currently this website does not support ".$browser['name'] . " " $browser['version'] .". Please try back in a few weeks.");
}

?>
Element is offline   Reply With Quote