Is the PC or SmartPhone accessing my site ?
Posted: Wed Sep 07, 2005 12:40 pm
Say I have a site called mysite.com and mysite.com/mobile containing PHP scripts that'll generate the WML pages for mobile devices using WAP.
If someone goes to mysite.com on his mobile device, he'll automatically be redirected to mysite.com/mobile.
How can I detect if the browser is a mobile or PC browser ?
Thanks
If someone goes to mysite.com on his mobile device, he'll automatically be redirected to mysite.com/mobile.
How can I detect if the browser is a mobile or PC browser ?
Thanks