php de mac adresini ögrenebilirsiniz
$komut= 'getmac'; exec($komut,$deger);
foreach($deger as $yaz) { echo $yaz.'<br>'; }