社区
CSS
帖子详情
如何能在我的网页上添加别的网站的登陆框(急!在线等!愿送80分)
wangtianyang
2003-10-25 08:02:44
我最近正在做一个个人主页,我的想法是在我的主页上加入一个登陆筐
例如:在我的网页上输入用户名和密码后,能够登陆到我在chinaren.com上的校友录。一直在线等,急。
...全文
108
8
打赏
收藏
如何能在我的网页上添加别的网站的登陆框(急!在线等!愿送80分)
我最近正在做一个个人主页,我的想法是在我的主页上加入一个登陆筐 例如:在我的网页上输入用户名和密码后,能够登陆到我在chinaren.com上的校友录。一直在线等,急。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
8 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wangtianyang
2003-12-11
打赏
举报
回复
我是新手 谁愿帮我吗?请把你的QQ号告诉我 不知是这么发帖的吗
pepos
2003-10-27
打赏
举报
回复
一般都会有这段代码
<form action="" ....>
....
</form>
把这段代码拷下来。然后文本框的名字跟他的一样就可以了。
wangtianyang
2003-10-25
打赏
举报
回复
他说出现fmsh错误
还不行呀
咋办呢
zrla
2003-10-25
打赏
举报
回复
<form name=FM action="http://login.chinaren.com/zhs/servlet/Login" method=POST>
<input type=hidden name=url value="http://profile.chinaren.com/zhs/loginok2.jsp?url=http://alumni.chinaren.com/index.jsp">
<input type=hidden name=group value="www">
<tr>
<td width=24> </td>
<td width=163>
<font color=#000010>用户名: </font> <input name=username type=text class=input3 style="width:100px;height:20px"><br>
<font color=#000010>密 码: </font> <input name=password type=password class=input3 style="width:100px;height:20px">
</td>
<td width=207>
<script>
if (fmsh)
document.write("<input type=radio name=us checked value=''> <font color=#000010>ChinaRen用户</font> <input type=radio name=us value='yes'> <font color=#000010>Sohu用户</font><br>");
else
document.write("<input type=radio name=us value=''> <font color=#000010>ChinaRen用户</font> <input type=radio name=us checked value='yes'> <font color=#000010>Sohu用户</font><br>");
</script>
<input name=imageField type=image src=http://images.sohu.com/cs/sms/alumni3/images/cr_b11.gif width=35 height=18 border=0>
<a href=http://profile.chinaren.com/zhs/register.jsp?group=alumni><img src=http://images.sohu.com/cs/sms/alumni3/images/cr_b12.gif width=35 height=18 border=0></a>
<a href=http://help.sohu.com/help_2.php?fatherid=3 target=_blank><img src=http://images.sohu.com/cs/sms/alumni3/images/cr_b13.gif width=59 height=18 border=0></a>
</td>
</tr>
<tr>
<td height=20> </td>
<td colspan=2 class=cla2><img src=http://images.sohu.com/cs/sms/alumni/roster/hot.gif> <a href=http://images.sohu.com/cs/sms/alumni3/ad/ad_online.htm target=_blank class=cla2>校友录新增在线查看功能</a></td>
</tr>
</form>
把上面的代码加到你的页面里就可以了!
haoyue0603
2003-10-25
打赏
举报
回复
把他的登陆页面的相关源代码复制下来就ok了。至于登陆框的样式。你还可以自己设计啊。:)
liuzxit
2003-10-25
打赏
举报
回复
看看它的登錄畫面的原碼﹐拷貝下來不就OK了嘛
<form name=FM action="http://login.chinaren.com/zhs/servlet/Login" onSubmit="if(!ChkLogin())return false;" method=POST>
<input type=hidden name=url value="http://profile.chinaren.com/zhs/loginok2.jsp?url=http://alumni.chinaren.com/index.jsp">
<input type=hidden name=group value="www">
<tr>
<td width=24> </td>
<td width=163>
<font color=#000010>用戶名: </font> <input name=username type=text class=input3 style="width:100px;height:20px"><br>
<font color=#000010>密 碼: </font> <input name=password type=password class=input3 style="width:100px;height:20px">
</td>
<td width=207>
<script>
if (fmsh)
document.write("<input type=radio name=us checked value=''> <font color=#000010>ChinaRen用戶</font> <input type=radio name=us value='yes'> <font color=#000010>Sohu用戶</font><br>");
else
document.write("<input type=radio name=us value=''> <font color=#000010>ChinaRen用戶</font> <input type=radio name=us checked value='yes'> <font color=#000010>Sohu用戶</font><br>");
</script>
<input name=imageField type=image src=http://images.sohu.com/cs/sms/alumni3/images/cr_b11.gif width=35 height=18 border=0>
<a href=http://profile.chinaren.com/zhs/register.jsp?group=alumni><img src=http://images.sohu.com/cs/sms/alumni3/images/cr_b12.gif width=35 height=18 border=0></a>
<a href=http://help.sohu.com/help_2.php?fatherid=3 target=_blank><img src=http://images.sohu.com/cs/sms/alumni3/images/cr_b13.gif width=59 height=18 border=0></a>
</td>
</tr>
<tr>
<td height=20> </td>
<td colspan=2 class=cla2><img src=http://images.sohu.com/cs/sms/alumni/roster/hot.gif> <a href=http://images.sohu.com/cs/sms/alumni3/ad/ad_online.htm target=_blank class=cla2>校友錄新增在線查看功能</a></td>
</tr>
</form>
李睿_Lee
2003-10-25
打赏
举报
回复
这个绝对能用.我试过的.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>ChinaRen 个人信息 登录</title>
</head>
<body topmargin=0 bgcolor=white><center>
<table width=21% cellspacing=4 cellpadding=1>
<form NAME=FM action="http://profile.chinaren.com/zhs/servlet/Login" ONSUBMIT="if(!ChkLogin())return false;if(document.FM.wp.checked)document.FM.url.value+='&wp=1';" METHOD=POST target="_top">
<INPUT TYPE=HIDDEN NAME=url VALUE="http://log2.chinaren.com/zhs/loginok2.jsp?nomail=yes&url=http%3a%2f%2falumni%2echinaren%2ecom">
<INPUT TYPE=HIDDEN NAME=group VALUE="www">
<tr>
<td height="165">
<table border=0 width=100% cellspacing=0 cellpadding=1 bgcolor=#bfbfbf>
<tr>
<td> <table width=96% cellspacing=0 cellpadding=3 border=0 bgcolor=#e6e6e6>
<tr >
<td width=25% align=right>用户:</td>
<td width=75%><input name=username MAXSIZE=32 type=text size=15 style="font-size:9pt;font-family:arial"></td>
</tr>
<tr >
<td width=25% align=right>密码:</td>
<td width=75%><input name=password MAXSIZE=32 type=password size=15 style="font-size:9pt;font-family:arial"></td>
</tr>
<TR>
<TD colspan=2><INPUT TYPE=CHECKBOX NAME="wp" VALUE='YES'>
登录时启动<a href='http://online.chinaren.com/' target=_blank>WebPager</a>
<BR> <INPUT TYPE=radio NAME="us" VALUE='' CHECKED>
我是ChinaRen用户<BR> <INPUT TYPE=radio NAME="us" VALUE='yes'>
我是SOHU用户 </td>
</TR>
</table>
<table width=100% cellspacing=0 cellpadding=3 border=0>
<tr >
<td width=90% align=right><input border=0 type=image src="http://images.chinaren.com/product/profile/images/login.gif"></td>
<td width=10%></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</form>
<SCRIPT>
function ChkLogin()
{
if(FM.username.value.length<3 || FM.username.value.length>32)
{
alert("您的用户名长度应在3-32字之间");
return false;
}
if(FM.password.value.length<2 || FM.password.value.length>32)
{
alert("您的密码长度应在2-32字之间");
return false;
}
if(FM.us[1].checked){
ts.cn.value=FM.username.value;
ts.pw.value=FM.password.value;
ts.submit();
return false;
}
return true;
}
</SCRIPT>
<FORM NAME=ts ACTION='http://login.sohu.com/chkpwd_comm.php' method=post>
<INPUT TYPE=HIDDEN name=cn>
<!--INPUT TYPE=HIDDEN name=url value="http://alumni.chinaren.com/index.jsp?home=1&noopen=yes"-->
<INPUT TYPE=HIDDEN NAME=url value="http%3a%2f%2falumni%2echinaren%2ecom">
<INPUT TYPE=HIDDEN name=pw>
<input type=hidden name=sohu_chinaren value=1>
</FORM>
</table>
</center></body>
</html>
DFlyingchen
2003-10-25
打赏
举报
回复
照它的表格抄下来,在action中写上它的CGI处理程序地址应该就好了。如果不可以,可能是该网页用到了cookie或session等预先验证技术,这样就没什么办法了 :(
CSDN回帖得
分
大全(近两年)
√ vs2005调用dll的时候Initialize()函数返回错误 [VC/MFC 基础类] √ 为什么我创建
登陆
框
之后,然后获取
登陆
框
的数据时候总是出现非法操作! [VC/MFC 界面] √ CFileFind::...
我在CSDN参与的3000个帖子
今日偶然翻到,感慨万千 1:申述:版主,是否扣了我的专家
分
? 2:100
分
急
求,随机输出十个小写字母,但是,要求这十个字母不相同 3:求Sn=a+aa+aaa+…+aaa…a(n个a)之值 4:数组题 望高手帮忙! 5:呵呵,来推荐一下我的
网站
,本站提供大量当今流行的免费的音乐和免费电影,常用软件、游戏、精美图库下载,希望对网友有帮助!顺便散
分
! 6:VBA请教怎
有哪些
网站
用爬虫爬取能得到很有价值的数据?
回顾2016年,我用爬虫做了很多事情。 1、微信好友的爬虫,了解一下你的好友全国
分
布,男女比例,听起来似乎是一个不错的想法,当然你还可以识别一下你的好友有多少人是用自己照片作为头像的,详细的内容可以点击这里:Python对微信好友进行简单统计
分
析 2、拉勾网的数据那么多的招聘信息有用吗?当然有用,你想了解一下你所在城市的各种主流语言(Java、PHP、JavaScript、Pytho...
QQ
1.减少QQ占用内存资源的秘笈
登陆
QQ后,占用内存:约8MQQ离线,占用内存:约10M秘笈:
登陆
QQ后,随便打开一个好友的对话窗口,把它最小化,QQ占用的内存就变为3M了,这对于内存小的朋友特别有用!! 2.QQ自定义头像上传成功率较高的方法1.将图像剪裁成40*40,再大的图也是这么大..2.将图像转换成bmp格式3.满足以上条件后,我还没出现上传失败的提示,每次都成功...
80
后的创业新贵
2012年的创业新贵开始接班? 创业邦_文/刘恒涛 摄影/路马视觉 大概在五年前,当媒体推出“
80
后创业者”这个概念的时候,公众着实兴奋了一阵子,当时互联网格局初定,马化腾们基本站稳。人们期望,在这个属于年轻人的领域,
80
后能冲击既有格局,和马化腾们一争高下。 但事实上,他们“辜负”了好事者的希望。几年之后,他们没能冲击互联网格局,四位
80
后,其中有两位,伴随着人们的争议,基本销
CSS
61,125
社区成员
60,706
社区内容
发帖
与我相关
我的任务
CSS
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
复制链接
扫一扫
分享
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章