Jump to content

Recommended Posts

Thus quoteth the manual:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] While browscap.ini contains information on many browsers, it relies on user updates to keep the database current.[/quote]

okay, we know get_browser isn't the solution. Is there an easier way to just find out what a site visitor's operating system is?
Link to comment
https://forums.phpfreaks.com/topic/12314-determining-a-visitors-operating-system/
Share on other sites

get_browser RELIES on the USER_AGENT:

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]mixed get_browser ( [string [b]user_agent[/b] [, bool return_array]] )[/quote]

It IS the best option. Finito. Maybe you can code something similar, but you'll have to use the USER_AGENT header anyways
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.