获取windows服务器网卡
时间:2006-12-22 来源:tianwu
@exec("ipconfig /all",$array);
print_r($array);exit;
for($Tmpa;$Tmpa
执行结果
Array ( [0] => [1] => Windows IP Configuration [2] => [3] => Host Name . . . . . . . . . . . . : tianwu [4] => Primary Dns Suffix . . . . . . . : [5] => Node Type . . . . . . . . . . . . : Unknown [6] => IP Routing Enabled. . . . . . . . : No [7] => WINS Proxy Enabled. . . . . . . . : No [8] => DNS Suffix Search List. . . . . . : domain [9] => [10] => Ethernet adapter 本地连接: [11] => [12] => Connection-specific DNS Suffix . : domain [13] => Description . . . . . . . . . . . : VIA Compatable Fast Ethernet Adapter [14] => Physical Address. . . . . . . . . : 00-50-8D-5D-59-C2 [15] => Dhcp Enabled. . . . . . . . . . . : Yes [16] => Autoconfiguration Enabled . . . . : Yes [17] => IP Address. . . . . . . . . . . . : 192.168.1.103 [18] => Subnet Mask . . . . . . . . . . . : 255.255.255.0 [19] => Default Gateway . . . . . . . . . : 192.168.1.1 [20] => DHCP Server . . . . . . . . . . . : 192.168.1.1 [21] => DNS Servers . . . . . . . . . . . : 202.109.14.5 [22] => 202.96.209.134 [23] => Lease Obtained. . . . . . . . . . : 2006年12月22日 13:30:18 [24] => Lease Expires . . . . . . . . . . : 2006年12月22日 15:30:18 )
print_r($array);exit;
for($Tmpa;$Tmpa
执行结果
Array ( [0] => [1] => Windows IP Configuration [2] => [3] => Host Name . . . . . . . . . . . . : tianwu [4] => Primary Dns Suffix . . . . . . . : [5] => Node Type . . . . . . . . . . . . : Unknown [6] => IP Routing Enabled. . . . . . . . : No [7] => WINS Proxy Enabled. . . . . . . . : No [8] => DNS Suffix Search List. . . . . . : domain [9] => [10] => Ethernet adapter 本地连接: [11] => [12] => Connection-specific DNS Suffix . : domain [13] => Description . . . . . . . . . . . : VIA Compatable Fast Ethernet Adapter [14] => Physical Address. . . . . . . . . : 00-50-8D-5D-59-C2 [15] => Dhcp Enabled. . . . . . . . . . . : Yes [16] => Autoconfiguration Enabled . . . . : Yes [17] => IP Address. . . . . . . . . . . . : 192.168.1.103 [18] => Subnet Mask . . . . . . . . . . . : 255.255.255.0 [19] => Default Gateway . . . . . . . . . : 192.168.1.1 [20] => DHCP Server . . . . . . . . . . . : 192.168.1.1 [21] => DNS Servers . . . . . . . . . . . : 202.109.14.5 [22] => 202.96.209.134 [23] => Lease Obtained. . . . . . . . . . : 2006年12月22日 13:30:18 [24] => Lease Expires . . . . . . . . . . : 2006年12月22日 15:30:18 )
相关阅读 更多 +
排行榜 更多 +