How to get Client MAC or Physical address in PHP?

PHP
How to get Client MAC address in PHP?

<?php echo getMacAddress();
function getMacAddress()
{   
ob_start();  
 system(‘getmac’);  
 $Content = ob_get_contents();   
ob_clean();   
return substr($Content,
strpos($Content,’\’)-20, 17);
}

The post How to get Client MAC or Physical address in PHP? appeared first on PHPGurukul.