Copy code The code is as follows:
@exec("ipconfig /all",$array);
for($Tmpa;$Tmpa if(eregi("Physical",$array[$Tmpa])){
$getstr=explode(": ",$array[$Tmpa]); "
" echo $getstr[1]; "
" } "
http://www.bkjia.com/PHPjc/318900.html
www.bkjia.com
truehttp: //www.bkjia.com/PHPjc/318900.htmlTechArticleCopy the code as follows: ?php @exec("ipconfig/all",$array); for($Tmpa ;$Tmpacount($array);$Tmpa++){ if(eregi("Physical",$array[$Tmpa])){ $getstr=explode(":",$array[$Tmpa]); echo$g. ..