How do I detect for a mobile device?
I have a standard HTML website, but I want to be able to detect when a client is comming from a mobile device, such as a PDA or a Mobile phone.
What is the best way to do this? and is it possible to determine the screen resolution of the device?
Your weblogs MAY tell you the browser used for PDA's etc, you'd have to test it out to see.
As for resolution, this can be picked up from PC but I've not heard of it from PDA's etc
If you design you page using CSS the media for handhelds is unsurprizingly called handheld.
Thus you don't really need to know if the visitor has a handheld or not, the handheld wll download the apropriate CSS file itself (unless it's buggy).
I think he is looking to see how many and from what they are accessing his pages.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)