<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<title>CCSDN自动登陆</title>
<script language="JavaScript">
<!--
window.onload=function (){document.all.login.submit();}
//-->
</script>
</head>
<body>
<table border="0" width="100%">
<form method="post" id=login action="http://expert.csdn.net/member/logon.asp" target="_top" name="login">
<input type='hidden' name='from' value='http://expert.csdn.net/Expert/Forum.asp'>
<tr><td valign="top">
用户名:<INPUT TYPE="text" NAME="name" maxlength="30" value=username size="10">
密码:<INPUT TYPE="password" NAME="pass" size="10" maxlength="20" value="password">
&nbsp;&nbsp;<a href="javascript:loginsub()"><input type=submit value=登录>
</td></tr></form></table>
</body>
</html>
<!-- 将username 和 password 改成你自己的,做个快捷方式即可 -->

解决方案 »

  1.   

    我来个更简单的:<script>
    function csdn()
    {
    form.submit();
    }
    </script>
    <body onload=csdn()>
    <form method=post name=form action="http://expert.csdn.net/member/logon.asp">
    <input type=hidden value="用户名" name="name">
    <input type=hidden value="密码" name="pass">
    <input type=hidden value="1" name="type">
    <input type=submit value="loading">
    </form>
      

  2.   

    程序只有 28.5 KB,用 VB 编制,内含程序执行需要的 Microsoft Internet Control(1.27MB),怕你们的机器上没有这个组件。
    我是解决多个帐号循环登录,另外,如果有长连接,放到计划中执行也不错。