I just ran some random tests on my code and was shocked to discover that get_browser()
read Opera as Google Chrome.
A few months ago get_browser() gave me correct results on all 5 browsers (chrome,ie,ff,opera,safari).
Today Opera displayed the same values with Google Chrome. First I thought get_browser() must be the problem so I tried getting alternatives. I saw this javascript alternative which works BUT like get_browser it also detected Opera as Google Chrome.
I made a quick search on this and found articles of Opera now using Chromium for its Desktop Browser.
Is that why my code is giving Opera and Google Chrome the same values?
I store user information for better user experience and it looks bad when my users are being told the wrong information.
Any ideas on how to keep individuality between Google Chrome and Opera?
All I can think of is using the user-agent but it can be faked.