注册 登录
编程论坛 ASP技术论坛

新人求助一个问题,高手进来看看

ak47my 发布于 2008-06-18 21:01, 584 次点击
<form action="http://xxx. method="post" name="LOGIN" onsubmit="return ValidateForm()">
    

        
        <table class='ipbtable' cellspacing="1">
            <tr>
                <td width="60%" valign="top">

                    <fieldset>
                        <legend><b>登录</b></legend>
                        <table class='ipbtable' cellspacing="1">
                            <tr><td width="50%"><b>请输入您的&nbsp;<b>用户名</b></b></td>
                                <td width="50%"><input type="text" size="25" maxlength="64" name="UserName" class="forminput" /></td>                            </tr>
                            <tr>
                                <td width="50%"><b>请输入您的&nbsp;<b>密码</b></b></td>

                                <td width="50%"><input type="password" size="25" name="PassWord" class="forminput" /></td>
                            </tr>
                        </table>
                    </fieldset>
                </td>
            
            </tr>
            <tr>
                <td class="formbuttonrow" colspan="2"><input class="button" type="submit" name="submit" value=" 登 录 " /></td>
            </tr>
            <tr>

                <td class="catend" colspan="2"><!-- no content --></td>
            </tr>
        </table>
    </div>
</form>








请问如果写在地址栏里应该怎样表示的啊?
http://xxx.
这样吗?


我是纯新人
3 回复
#2
madpbpl2008-06-19 03:20
不建议在登陆时用这种写法,
form写成
<form action="http://xxx. method="post" name="LOGIN" onsubmit="return ValidateForm()">
.....
</form>

在http://xxx.页用Request.Form("字段")来取值
#3
hmhz2008-06-19 07:31
method="post"  改成 method="get"
#4
yms1232008-06-19 10:00
这个是PHP?
1