Does anybody know how to detect a WEB browser via php code?..
i already know the xhtml browsers etc.. but i want a code to detect a web browser from a mobile browser. . .
just say i visit a site using my phone it will redirect me to the WML version but if i use a WEB browser (PC) it will take me to the Web site. . .
i only want people on PC to be redirected to the WEB site and people on ANY mobile phone it will redirect them to the wml site...
Can anybody give me a quick simple code to save me from searching for it?. . .
Thanks in advance
i already know the xhtml browsers etc.. but i want a code to detect a web browser from a mobile browser. . .
just say i visit a site using my phone it will redirect me to the WML version but if i use a WEB browser (PC) it will take me to the Web site. . .
i only want people on PC to be redirected to the WEB site and people on ANY mobile phone it will redirect them to the wml site...
Can anybody give me a quick simple code to save me from searching for it?. . .
Thanks in advance
Comment