PHP code to obtain network card address_PHP tutorial

WBOY
Release: 2016-07-21 15:52:32
Original
695 people have browsed it

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. ..
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template