note 105983 rejected from function.get-browser by danbrown
| From: | danbrown@php.net | Date: | Fri, 30 Sep 2011 21:40:34 +0000 |
| Subject: | note 105983 rejected from function.get-browser by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183570@lists.php.net to get a copy of this message | ||
Note Submitter: hondros at hotmail dot com
----
wondering if this will work?
<?php
$ie4 = $_GET['detect.php'];
$ie5 = $_GET['detect.php'];
$ie6 = $_GET['detect.php'];
$ie7 = $_GET['detect.php'];
$ie8 = $_GET['detect.php'];
if($ie4 == 0){
echo "location: ie4header.php";
}
elseif($ie5 == 0){
echo "location: ie5header.php";
}
elseif($ie6 == 0){
echo "location: ie4header.php";
}
elseif($ie7 == 0){
echo "location: ie5header.php";
}
elseif($ie8 >= 0){
echo "location: header_template.php";
}
?>