时间:2021-07-01 10:21:17 帮助过:26人阅读
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;
}