0

Unable to get mac address of client machine when my application is hosted on cloud. Code is working fine on localhost but fails to get MAC address when i deploy it on cloud server. Tried too many codes like this.

function GetMacAddress()
{
    $MAC = exec('getmac');
    return $MAC = strtok($MAC, ' ');
}

0 Answers0