I dont know about you, but i really dislike IE. And my site looks terrible on it. So heres a little code to make people change their minds.
NOTE: This script only pops up a message, but you can easily put it into authenticate and stop the login process and make them switch.
add on login page. Put on top
<?php
function ae_detect_ie()
{
if (isset($_SERVER['HTTP_USER_AGENT']) &&
(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
return true;
else
return false;
}
?>
then put this where you want message to show
<?php if (ae_detect_ie()) { ?>
{Your site} will not function properly with IE, so why not switch to a standard-complaint brower, like
[url="http://www.mozilla.com/firefox/"]Firefox[/url]? Its free =)
<?php } ?>