AnsweredAssumed Answered

Need to get Platform, OS and IP of local machine

Question asked by Muhammad Shaji Uddin on Oct 17, 2018

Hi All,


SugarCRM application is on-demand version


I need to fetch Platform, OS and IP of users local machine only. I tried to use below but its fetching hosted server detail not user's local machine detail.


$platform = $_SERVER['HTTP_USER_AGENT'];
$operating_system = php_uname();
$ip_address = getHostByName(getHostName());

Any help will be highly appreciable.