I have seen a lot of PHP scripts on the net for "browser detect" but what I need is some simple code that:
1. Detects browser type;
2. Forwards to appropriate URL
I would like to do something like:
if (HTTP_USER_AGENT = %7650
if else P900
if else n-gage
if else 6600 // all of these represent phones
Go to url :
http://myurl/mobilif other
go to:
http:?myurl/home.thmAny code for doing this? I'm trying to detect normal PCs vs. Mobile devices ...
Start Free Trial