Bu konu forumda bir çok kez sorulmuştu. Sadece php kullanarak dediğinizi yapmak şuan da mümkün değil.
Bi arkadaşla deniyoruz şu anda onda çıktı fakat vista saymadı..
yaptığımız şey aslında basit bi uygulama cmd den ipconfig/all verisini çekiyoruz..
<?php
/*
* Getting MAC Address using PHP
* Md. Nazmul Basher
*/
ob_start(); // Turn on output buffering
$sistem = 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
if($sistem == false){ echo "hata"; }
echo $mac;
?>