ifconfigtoarray.php

来自「phpbased firewall for linux.」· PHP 代码 · 共 13 行

PHP
13
字号
<?php
	
	function ifconfigToArray(){
		/*
		*	File: ifconfigToArray.php
		*	Author: Espinho
		*	Funzione che esegue il comando ifconfig e ne preleva i dati di maggior rilevanza.
		*	La funzione produce in output un array bidimensionale in forma $array[interfaccia][propriet郵
		*	
		*	e.g.
		*	$array["eth0"]["encap"]
		*
		*	La seconda dimensione dell'array non ha sempre lunghezza costante perch

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?