<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<form name="form1" method="post" action="mycollect.php">
  <input type="text" name="machineid">
  <input type="submit" name="Submit" value="提交">
  <input type="reset" name="Submit" value="重置">
</form>
</body>
</html>

解决方案 »

  1.   

    <?
    $MachineId=$_POST['machineid'];
    echo "$MachineId";
    ?>
      

  2.   

    应该是你本机register_globals=on 而服务是register_globals=off,
    请用 $HTTP_POST_VARS['machineid']
      

  3.   

    print_r($_POST)试试看有没有索引是machineid的值?
      

  4.   

    换了 $MachineId=$HTTP_POST_VARS['machineid'];还是一样的,苦啊~!~
      

  5.   

    用了print_r($_POST)试,本机上有,服务器上没有,晕
      

  6.   


    $MachineId=$_POST['machineid'];这样也不行么~?
    注意一下变量的大小写~
      

  7.   

    在你的<form>中添加如下Code即可, enctype="multipart/form-data"
      

  8.   

    enctype="multipart/form-data不管用,晕
      

  9.   

    谢谢各位,俺们犯了个错误,就是服务器上还没来得及装PHP