代码如下:
@exec("ipconfig /all",$array);for($Tmpa;$Tmpa if(eregi("Physical",$array[$Tmpa])){$getstr=explode(":",$array[$Tmpa]);echo $getstr[1];}}?>
来源: https://www.php1.cn/detail/php-012301da5e.html