i Got this snippet from Web
PHP Code:
/*
* Getting MAC Address using PHP
* Md. Nazmul Basher
*/
ob_start(); // Turn on output buffering
system(’ipconfig /all’); //Execute external program to display output
$mycom=ob_get_contents(); // Capture the output into a variable
ob_clean(); // Clean (erase) the output buffer
$findme = “Physical”;
$pmac = strpos($mycom, $findme); // Find the position of Physical text
$mac=substr($mycom,($pmac+36),17); // Get Physical Address
echo $mac;
http://nazmulb.wordpress.com/2008/07...ess-using-php/
Try it and share your experience
Another method is using javascript
But that only works in IE by the help of ActiveX Objects
http://www.qualitycodes.com/tutorial.php?articleid=19
Regards
Anees