<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>
<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>
$MachineId=$_POST['machineid'];
echo "$MachineId";
?>
请用 $HTTP_POST_VARS['machineid']
$MachineId=$_POST['machineid'];这样也不行么~?
注意一下变量的大小写~