ntop 3.2的源代码

源代码在线查看: ifstats.php

软件大小: 3819 K
上传用户: a215290209
关键词: ntop 3.2 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

																																    $fp = fsockopen ($host, $port);								if (!$fp) {				    echo "$errstr ($errno)\n";				} else {				    $outStr = "";				    fputs ($fp, "GET /dumpTrafficData.html?language=php HTTP/1.0\r\n\r\n");				    while (!feof($fp)) {					$out = fgets($fp,128);					if($out == "\n")					    $begin = 1;					else if($begin == 1)					    $outStr .= $out;				    }				    fclose ($fp);				//echo "$outStr";				    eval($outStr);				}								echo "\n\n";				echo "InterfaceValues\n";								while (list ($key, $val) = each($ntopHash)) {									echo "$key\n";					echo "\n";					while (list ($key_1, $val_1) = each ($val))					    if(gettype($val_1) == "array") {						echo "$key_1\n";						while (list ($key_2, $val_2) = each ($val_1)) {						    echo "$key_2 $val_2\n";						}						echo "\n";					    } else if($val_1 != "0") 						echo "$key_1 $val_1\n";									echo "\n";				}								echo "\n";								// echo "$outStr";				?>																											

相关资源