1.form的post还是get方法。 2.文本框的 id 和 name 不可重复,不可多余。 3.$必写。 4.php代码的位置,是在页头还是页尾。 5.session_start();必须在页面代码的最上面,include的上面。