你提交的那个表单的文本框名字是不是叫 something
 是不是提交到这个页面来了我发现你的post是小写的,你写成这样$_POST[something]  PHP 关键字是区分大小写的。。

解决方案 »

  1.   

    <input type="hidden" name="test" value=<?php echo $_post['something']; ?>>
      

  2.   

    配置文件php.ini中,是否设置了register_globals = Off;没道理不行的;
      

  3.   

    用排除方法嘛
    先试试<input type="hidden" name="test" value=“test">行不行
      

  4.   

    a.php<html>
    <form name="form1" action="b.php" method="post">
    <input type = "text" name="something">
    <input type = "submit" name="submit">
    </form>
    </html>b.php <input type="hidden" name="test" value="<?php echo $_POST['something'] ?>">
     <input type="text" name="test" value="<?php echo $_POST['something'] ?>">注意 $_POST['something']   POST 一定要大写
      

  5.   

    <input type="hidden" name="test" value="<?= $_POST['something']?>" >