I want to get user machine name or any unique code instead of IP.
Two system on same network have same IP but I want unique Code/number/name of each System.
Please tell me How can I do this with php.
Thanks
EDITED......
I am using below code. This is working on localend. But this stop working on live server. May be its getting server mac address but I want local machine Mac address from where my web app is accessing.
ob_start();//Get the ipconfig details using system commond
system('ipconfig /all');
// Capture the output into a variable
$mycom=ob_get_contents();
// Clean (erase) the output buffer
ob_clean();
$findme = "Physical";
//Search the "Physical" | Find the position of Physical text
$pmac = strpos($mycom, $findme);
// Get Physical Address
$mac=substr($mycom,($pmac+36),17);
//Display Mac Address
echo '<h1>demo---> '.$mac.'</h1>';
Edited
If this is not possible in php then javascript can be used for this? How can I use javascript to get client machine Physical Address....