2009-09-20, 04:53 AM
I want my Online list to show which browser the user logged on with.
How could I add this to the online plugin?
I think this code would work for IE, but i want it to work for all browsers.
Oh, by show which browser a user logged on with, I mean I want an icon image of the browser they used.
How could I add this to the online plugin?
<?php
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) {
echo 'You are using Internet Explorer.<br />';
}
?>
I think this code would work for IE, but i want it to work for all browsers.
Oh, by show which browser a user logged on with, I mean I want an icon image of the browser they used.