PHP4中session登录页面的应用
<?php <metahttp-equiv="Content-Type"content="text/html;charset=gb2312"> <linkrel="stylesheet"type="text/css"href="../include/njz_common.css"> <formname="form1"method="post"action="<?phpecho$PHP_SELF;?>"> <tablewidth="289"border="1"cellspacing="0"cellpadding="1"bordercolor="#999999"align="center"> <trbgcolor="#999999"> <td> <divalign="center"><fontcolor="#FFFFFF"size="4">用户登录 </td> </tr> <tr> <td> <tablewidth="267"border="0"cellspacing="0"cellpadding="5"align="center"> <tr> <tdwidth="94"> <divalign="right">用户: </td> <tdwidth="169"> <inputtype="text"name="user_login"size="16"maxlength="16"value="<?phpecho$user_login;?>"> </td> </tr> <tr> <tdwidth="94"> <divalign="right">口令: </td> <tdwidth="169"> <inputtype="password"name="user_pass"size="16"maxlength="16"> </td> </tr> <tr> <tdcolspan="2"> <divalign="center"> <inputtype="submit"name="login"value="登录"> <inputtype="button"name="return_index"value="返回首页"onClick="form1.action='../include/goto_page.php3?dist_page=../main.php3';form1.submit();return;"> </td> </tr> </table> </td> </tr> </table> <?php if($error_message)echo" ?> <SCRIPTlanguage="JavaScript">document.form1.user_login.focus(); <?phpinclude("../footer.php3");?> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |