如题

解决方案 »

  1.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312">
    password.php<title>无标题文件</title>
    </head><body>
    <form name="form1" method="get" action="getpasw.php">会员账号
    <input name="access" type="text" size="13" maxlength="12"><br>会员密码
    <input name="pasw" type="password" size="13" maxlength="12"><br>
    <input type="submit" name="Submit" value="发送">
    </form>
    </body>
    </html>getpasw.php
    <?
    echo "您所输入的账号为:<br>";
    echo $access;
    echo "<br>";
    echo "您所输入的密码为:<br>";
    echo $pasw;
    ?>
      

  2.   

    如果是用$_post,$_get;可以接收么?
      

  3.   

    getpasw.php 
    <?php 
    echo "您所输入的账号为: <br>"; 
    echo($_POST['access']); 
    echo " <br>"; 
    echo "您所输入的密码为: <br>"; 
    echo($_POST['pasw']);
    ?>如何要用$_GET的话就把$_POST替换为$_GET并且把password.php的action设置为get方法