⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.php

📁 mrtg 监控,请认真阅读您的文件包然后写出其具体功能
💻 PHP
字号:
<html><script><!--function setfocus() { document.login.form_password.focus(); }--></script><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 Admin login</title></head><body onLoad=setfocus()><p><b><u>MRTG Admin login</u></b></p><FORM name=login ACTION=login.php METHOD=POST>  <table border="0" width="100%">    <tr>      <td width="12%">Admin Password:</td>      <td width="88%"><input type="password" name="form_password" size="20" tabindex="1"></td>    </tr>  </table>  <p><input type="submit" value="Login" name="B1" tabindex="2"></p></form></body></html><?php  // Replace this path with the path to the config.inc.php fileinclude ("e:\\mrtg\\conf\\config.inc.php");if ($pass_wrong == "1"){	echo "Wrong password !!!<br>";}if($REQUEST_METHOD == "POST"){ if($form_password){    if($form_password == $admin_password1 or $form_password == $admin_password2){       ?>        <script language="JavaScript">        location="./admin.php";        </script>       <?php  }else{        ?>        <script language="JavaScript">        location="./login.php?pass_wrong=1";        </script>        <?php    }  }  }?>  

⌨️ 快捷键说明

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