日期:2014-05-17 浏览次数:20459 次
<?php
class GetMacAddr
{
var $return_array = array();
var $mac_addr;
function GetMacAddr($os_type)
{
switch ( strtolower($os_type) )
{
case "linux":
$this->forLinux();
break;
case "solaris":
break;
case "unix":
break;
case "aix":
break;
default:
$this->forWindows();
break;
&