用密码验证来保护动感首页更新的实现
下面的程序是阿喔动感管理通用程序,非常简单不用解释了吧!
if username="admin" and password="admin" then
请记得修改两个admin分别用户名和密码!
login.ASP <HTML>
<head> <title>管理者登陆</title> <link rel="stylesheet" href=../../"DOWNLOAD.CSS"> </head>
<body> <div align="center"><center>
<table border="0" cellspacing="1" width="90%"> <tr> <td> <form method="post" action="chklogin.ASP"> <table width="45%" border="1" cellspacing="0" cellpadding="1" align="center" bordercolordark="#ecf5ff" bordercolorlight="#6699cc"> <tr> <td><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="33%" align="right" height="30">用户名:</td> <td width="67%"><input name="username" maxlength="20" class="smallInput" size="20"> </td> </tr> <tr> <td width="33%" align="right" height="30">密 码:</td> <td |