Log in

View Full Version : Check browser and redirect.



Draclan12
08-16-2007, 07:03 PM
Hi. I was wondering if I could get a php script to be able to check the browser and then redirect to another page.

I found this one script when I was google searching that included soo many browsers that it checked for, I didn't even know some of them, thing is, I can't find it anymore. I only need to check for like Firefox/Netscape, IE, Opera, and Safari for Win/Mac...

Great thanks to the person that can find me the script I was found before or anyone that can just write one for me.

=D

remp
08-16-2007, 07:37 PM
See if this (http://www.dynamicdrive.com/dynamicindex9/bredirect.htm) helps...

Draclan12
08-16-2007, 08:14 PM
See if this (http://www.dynamicdrive.com/dynamicindex9/bredirect.htm) helps...

Yes, I have seen that before, I need it in PHP...

remp
08-16-2007, 09:44 PM
but scripts work perfect with php.

Draclan12
08-16-2007, 11:21 PM
but scripts work perfect with php.

Oh okay then. I'll use that then. Thanks!

djr33
08-17-2007, 05:53 PM
In almost all cases, browser detection is a bad idea, because the site doesn't follow standards. Occasionally, it does make sense, though, but use it cautiously.