I wanted mac(system physical address) address of client and i got it but when i hosted in server am not getting anything.
The code i used for getting mac address is :
ob_start();
system('ipconfig /all');
$mycomsys=ob_get_contents();
ob_clean();
$find_mac = "LAN Card";
$pmac = strpos($mycomsys, $find_mac);
$macaddress=substr($mycomsys,($pmac+49),17);
echo $macaddress;
I dont known where am going wrong. Plesae help me to fix this.