Posted by lajeeshk 1 year 36 weeks ago
i use $_SERVER['HTTP_USER_AGENT'] for detecting mobile device model .but only some browsers are returns device name and model number like uc web and nokia in built browser.opera mini does not returns the device name and model no.then i use $_SERVER['HTTP_X_OPERAMINI_PHONE_UA']. this returns the value UNTRUSTED/1.0.how to resolve this value




Posted by ignacio55 1 year ago
Hello,
I have the same problem.
What I know till now is that OperaMini sends you their own HTTP HEADERS additionally. Some of them are mandatory and some others are optional.
http://dev.opera.com/articles/view/opera-mini-request-headers/
Try printing the whole http request, so maybe you could get some more info
For example, this http header could be usefull "X-OperaMini-Phone" if it exists
But it doesn't look good in my opinion