5分钟小视频脚本:请问然后在首页加入DZ论坛的登陆入口

来源:百度文库 编辑:高校问答 时间:2024/04/29 11:26:26
我有一个叶子,是DVBBS的,有个入口和一些首页调用,但是我想用我原来的DZ论坛啊。怎么做一个登陆入口呢?
而且,叶子和论坛完全是两个空间,两个网址。
有办法把他们连起来吗?

<html>
<head>
<title>login</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<hr>按钮提交表单<hr>
<form method="post" action="logging.php?action=login" target="_blank">
<input type="hidden" name="referer" value="index.php">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>用户名</td>
<td>
<input type="text" name="username">
</td>
</tr>
<tr>
<td>密码</td>
<td>
<input type="password" name="password">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="loginsubmit" value="登录">
<input type="reset" name="reset" value="重置">
<input type="button" value="注册" onclick="javascript: this.form.action='register.php';this.form.submit();">
<input type="button" value="游客" onclick="javascript: this.form.action='index.php';this.form.submit();">
</td>
</tr>
</table>
</form>
<hr>图片提交表单<hr>
<form name="discuz_login" method="post" action="logging.php?action=login" target="_blank">
<input type="hidden" name="referer" value="index.php">
<input type="hidden" name="loginsubmit" value="登录">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>用户名</td>
<td>
<input type="text" name="username">
</td>
</tr>
<tr>
<td>密码</td>
<td>
<input type="password" name="password">
</td>
</tr>
<tr>
<td colspan="2">
<a href="###" onclick="javascript: document.discuz_login.submit()"><img src="images/login.gif" alt="登录"></a>
<a href="###" onclick="javascript: document.discuz_login.reset()"><img src="images/reset.gif" alt="重置"></a>
<a href="###" onclick="javascript: window.location='register.php'"><img src="images/register.gif" alt="注册"></a>
<a href="###" onclick="javascript: window.location='index.php'"><img src="images/guest.gif" alt="游客参观"></a>
</tr>
</table>
</form>
<hr>
</body>
</html>
---------------------
把代码保存成asp文件,存到Discuz!论坛所在目录,
然后在你"叶子"里面适当位置加入<script src="http://你的论坛地址/dy.asp"></script>