Shan
💖 Chevereto Fan
Okay! So this isn't related to chevereto BUT I wish to post it here anyway because it could help me help others if they wish to do this.
The above code is a IE detection system, as IE makes the some areas of the .css not display correctly.
Anyway under;
This tells the user that they ARE using IE and echo's "You are Using IE X.X" wherever I put it.
I have a IE page setup just for Internet Explorer, where IE users will be redirected to to tell them to stop using IE and with links to appropriate web browsers (wich in future a cookie system to skip the page if they don't care about errors).
Anyway does anyone know how to redirect the page using echo (only way I know how to redirect a page is the header redirect )to it would be like echo"/ie.php" or something like that.
PHP:
<?php
include"lib/clsBrowser.php";
$oBrowser = new clsBrowser();
try
{
if($oBrowser->isIE())
{
echo "<You are using version>" . $oBrowser->getVersion();
}
else
{
echo "<strong>You are not using IE. Thanks you!</strong>";
}
}catch(Exception $ex){echo $ex->getMessage();}
?>
The above code is a IE detection system, as IE makes the some areas of the .css not display correctly.
Anyway under;
PHP:
if($oBrowser->isIE())
{
echo "<you are using version>" . $oBrowser->getVersion();
This tells the user that they ARE using IE and echo's "You are Using IE X.X" wherever I put it.
I have a IE page setup just for Internet Explorer, where IE users will be redirected to to tell them to stop using IE and with links to appropriate web browsers (wich in future a cookie system to skip the page if they don't care about errors).
Anyway does anyone know how to redirect the page using echo (only way I know how to redirect a page is the header redirect )to it would be like echo"/ie.php" or something like that.