I need a php code that will check what browser a user is using. Then, if it is IE, i want it to display text.
Anyone help me out??
![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |

|
|
|
|
Moderator: Malcolm

<!--[if !IE]> <-->
This content will only display if run in any browser except IE.
<!--> <![endif]-->
<!--[if !IE]>
This content will only display in IE.
<![endif]-->
<!--[if !IE 6]>
This content will only display in IE6.
<![endif]-->
Phate wrote:What I want it to do, is check to see what browser the person is using. If it is not firefox, i want it to say, "This site is best viewed in Mozilla Firefox" (with a link)
Users browsing this forum: No registered users and 1 guest