<?php
/*
class AutomaticBrowserDetect 0.1 by Roberto Aleman, you can use it with BSD Licence
Please use it, and report to hide@address.com your experience for improvement the code in the next version */
include_once("automaticbrowsersdetect.php");
$newbrow = new AutomaticBrowsersDetect();
$newcss = new AutomaticBrowsersDetect();
$newurl = new AutomaticBrowsersDetect();
echo "<center><h2>Your favorite browser is : ".$newbrow->GetBrow($_SERVER['HTTP_USER_AGENT'])."</h2><br/>";
echo "<h2>I want Use this CSS styles : ".$newcss->checkcss($newbrow->GetBrow($_SERVER['HTTP_USER_AGENT']))."</h2><br/>"; // show correct css file
echo "<h2>I want Use this URL to show my favorite web content with my CSS styles : ".$newurl->checkurl($newbrow->GetBrow($_SERVER['HTTP_USER_AGENT']))."</h2>"; // show correct destination url
echo "<br/><br/>by Roberto Aleman, you can use it with BSD Licence<br/>Please use it, and report to hide@address.com your experience for improvement the code in the next version ,current day (02/02/10)has been this tried in:ie7, ie8, mozilla firefox, chrome, safari</center>";
/*
AND NOW BY EXAMPLE, YOU CAN REDIRECT TO YOU PREFER URL ACCORD THE USER AGENT!!! ENJOY!!
*/
?>