index.php

来自「mrtg 监控,请认真阅读您的文件包然后写出其具体功能」· PHP 代码 · 共 35 行

PHP
35
字号
<html><head><meta http-equiv="Content-Language" content="en-us"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>Mrtg statistics</title></head><body><p><u><b>Configuration:</b></u></p><ul>  <li><a href="login.php">Administration (password requiered)</a></li></ul><p><u><b>Switch list:</b></u></p><?// Replace this path with the path to the config.inc.php fileinclude ("c:\\mrtg\\conf\\config.inc.php");$dir = dir($mrtg_html_dir);echo "<ul>";while($filename=$dir ->read()) {	if (eregi("\.(html)$",$filename))	echo "<li><a href=".$filename.">".substr($filename, 0, -5)."</a></li>";;}$dir ->close();echo "</ul>";?></body></html>

⌨️ 快捷键说明

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