你是phpx上的yuguanglou???是不是你的form没有写完整?

解决方案 »

  1.   

    index.php?user=abc
    你这样的传值可以用$_GET['user']接收
    那你的表单也可以提交!
    表单的method要相互对应
    应该不会出现你所说的情况!
      

  2.   

    确实出现了啊 真的 !!! 我也知道 POST 对应POST 接 GET 对应GET接嘛 可是只要是通过FORM 提交的数据都接不到啊
      

  3.   

    哇,楼主怎么说你的PHP不支持POST表单数据了呢,可能是你的PHP配置文件出错了吧,我以前也曾遇到过这样的问题,修改一下就好了呵呵..
      

  4.   

    <form name="form1" method="post" action="checklogin.php">
                                  <tr> 
                                    <td> 
                                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr> 
                                          <td> 
                                            <div align="right">用户名:</div>
                                          </td>
                                          <td> 
                                            <input name="username" type="text" size="10">
                                          </td>
                                        </tr>
                                        <tr> 
                                          <td> 
                                            <div align="right">密 码:</div>
                                          </td>
                                          <td> 
                                            <input name="password" type="password" size="10">
                                          </td>
                                        </tr>
                                      </table>
                                    </td>
                                    <td width="56"> 
                                      <input name="imageField" type="image" src="images/u09.gif" width="56" height="60" border="0" alt="会员登录">
                                    </td>
                                  </tr>
                                </form>
    checklogin.php<?phpecho $_POST['username'];?>这样都接不到!!!
      

  5.   

    哈哈
    大家为什么不说重点呢?
    嘿嘿比较新的php不能直接$variable获取的
    需要在前面加$HTTP_POST_VARS['variable']这就对了
    还有修改php.ini的方式这种不推荐的.多看看manual都有的.很详细的.
      

  6.   

    楼上的 也不对啊!!????
    你去看看
    http://www.joboa.com/post.php
    先谢谢各位老大了~~~
    晚上给各位分吧 
      

  7.   

    帮你顶,没见过这档子事用1,print_r($_POST);看看 2,重装php试试