I tried to get device id from mobile through PHP code. Is there any possibility to get mobile device id from PHP code.
There is a really simple solution to use Mobile-detect here: https://github.com/serbanghita/Mobile-Detect/
Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. http://mobiledetect.net