To find out Model of mobile

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shaileshamb
Forum Newbie
Posts: 1
Joined: Tue Nov 09, 2010 10:14 pm

To find out Model of mobile

Post by shaileshamb »

I am a PHP developer and desisgning a WAP page for phones . I need some php code to find out the model of a mobile phone from where request is coming so that based on that information I can upload the proper CSS for my page.If you can give me some hints as well that would also help me to proceed further.Currently I am able to fetch user-agent of mobile but not able to find out the specific model of mobile.
Thanks in advance!!!
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: To find out Model of mobile

Post by cpetercarter »

If you google "user agent mobile detection" you will find links to several scripts which detect the type of mobile phone or mobile operating system from the user-agent string.
Post Reply