Jump to content

Recommended Posts

Using HTTP_USER_AGENT to get info on the clients OS but i need more details for the higher OS's

 

For example win98 is shown as win98 or windows98 in the HTTP_USER_AGENT, and where winNT 5.0 means windows 2000 its getting confusing even more so for XP and Vista

 

anyone have a list of which is what OS or a script that detects and displays the OS and version ie Windows XP etc.

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/138806-detect-os/
Share on other sites

For a fun idea, why don't you build a script to capture the user agent, parse it for the operating system, and check it against your database. In one table you have the user agent and its 'general' category (windows2000 for instance). In another table, you have a list of every user agent operating system parse.

If it is found in the second table, check the first and save the info. If it is NOT in the second table, save it in the second table with a flag column set to 1. Then, once a week, process the flagged agents and categorize them manually. You'll be collecting them and generating the list as you go. Kinda sounds like fun (but I'm twisted).

Link to comment
https://forums.phpfreaks.com/topic/138806-detect-os/#findComment-725900
Share on other sites

http://techpatterns.com/downloads/php_browser_detection.php

 

They have, in the middle column, two boxes... one on the left, one on the right. The one on the left tells lots of computer info including your OS. The one on the right is a download link for that computer info box. Try looking there.

Link to comment
https://forums.phpfreaks.com/topic/138806-detect-os/#findComment-725993
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.