Forums

PHP

This topic is locked

Conditional Browser Redirect

Posted 16 Jun 2008 16:37:54
1
has voted
16 Jun 2008 16:37:54 Jim Bryan posted:
I am running a site that IE doesn't like too much. Of course Firefox, and all the re3st have no problems, but IE just doesn't fly!

What I would like to do is check the users browser type, and if it is IE redirect them to a page asking them to get another browser, then on to the site access through a side door which IE seems to handle.

If they are not using IE (and only IE), I would like to redirect them to the main page of the site without further ado.

I have tried the sample scripts, but all seem to give errors when I try to redirect.

Can some one help with this. I would sincerely appreciate any and all help.

Reply to this topic