编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛  
全能 ASP / PHP / ASP.NET 主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付学习型 ASP/PHP/ASP.NET 主机 30元/年
发新话题
打印

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

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

<form action="http://xxx.xxx.net/index.php?act=Login&CODE=01" 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>请输入您的 <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>请输入您的 <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.xxx.net/index.php?act=Login&amp&UserName=11111&PassWord=11111
这样吗?


我是纯新人

TOP

不建议在登陆时用这种写法,
form写成
<form action="http://xxx.xxx.net/index.php method="post" name="LOGIN" onsubmit="return ValidateForm()">
.....
</form>

在http://xxx.xxx.net/index.php页用Request.Form("字段")来取值

TOP

method="post"  改成 method="get"
2000年接触asp     2002年精通asp     2004年熟悉asp    2006年基本了解asp    2008年真搞不懂asp

TOP

这个是PHP?
http://www.lxzhcn.net
版块版主招募中
网站论坛发帖无问题,欢迎发帖。

TOP

发新话题