|
html代码示例
-
- <html>
- <title>登录WebMail</title>
- <SCRIPT LANGUAGE=javascript>
- <!--
- function gook() {
- f1.pwhidden.value = encode(f1.pwshow.value, parseInt(f1.picnum.value));
- f1.submit();
- }
- function encode(datastr, bassnum) {
- var tempstr;
- var tchar;
- var newdata = "";
- for (var i = 0; i < datastr.length; i++)
- {
- tchar = 65535 + bassnum - datastr.charCodeAt(i);
- tchar = tchar.toString();
- while(tchar.length < 5)
- {
- tchar = "0" + tchar;
- }
- newdata = newdata + tchar;
- }
- return newdata;
- }
- //-->
- </SCRIPT>
- <!--
- 请用有效路径替换下一行中的http地址
- //-->
- <form name="f1" method="post" action="http://localhost/webmail/default.asp">
- 用户名:<input type="text" name="username">
- <input type="hidden" name="pwhidden">
- <br>
- 密 码:<input type="password" name="pwshow">
- <input type="hidden" name="picnum" value="7652">
- </form>
- <input type="button" value="提交" onclick="javascript:gook()">
- </html>
复制代码
asp代码示例 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?会员注册
x
|