I want to get a mobile model, for example iPhone 3G or 3GS, Nokia 9231, iPad Mini, Samsung 10.1 tablet, etc.
I used
$_SERVER['HTTP_USER_AGENT']
but he brings me back
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:26.0) Gecko/20100101 Firefox/26.0
I also used the Mobile Detect class, it only tells me the version of the operating system, but does not tell me the device model?
Is it possible how?
user2447440
source
share