帝国cms中登陆表单制作详解(图文)

admin 2024年1月14日17:55:58帝国cms技巧评论1,247 次浏览阅读模式

内容摘要

登陆表单制作,前台会员登陆表单的制作。

文章正文

登陆表单制作    前台会员登陆表单的制作。 

登陆表单变量说明
  变量名 例子
登陆表单提交地址 /e/enews/index.php <form name="login" method="post" action="/e/enews/index.php">
用户名输入框变量 username <input name="username" type="text">
密码输入框变量 password <input name="password" type="password">
登陆信息保存时间 lifetime 单位为秒,如:<input type="radio" name="lifetime" value="3600">一小时
验证码输入框变量 key <input name="key" type="text" size="6">
显示验证码 /e/ShowKey/?v=login <img src="/e/ShowKey/?v=login">
登陆事件变量 enews <input type="hidden" name="enews" value="login">
提交后返回地址变量:ecmsfrom ecmsfrom变量值有三种方式:1、如果不设置则返回系统默认的地址;2、如果值为9,那么返回的是提交地址,系统自动识别;3、如果设置除了9以外其它值,将返回变量值的地址。 <input type="hidden" name="ecmsfrom" value="http://www.phome.net">
返回提示信息方式:prtype 不设置为默认方式(e/message);1为弹出对话框方式(alert)。 <input type="hidden" name="prtype" value="1">

代码注释

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2024年1月14日17:55:58
  • 转载请务必保留本文链接:https://anyun.org/a/webtips/ecmstips/2024/0114/18063.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: