1、这不是函数,是变量
2、去掉前面的$,则是web服务器的cgi环境变量
只是php将他们转换成了数组
3、
$HTTP_POST_VARS //保存post方式传递的变量及值
$HTTP_GET_VARS //保存get方式传递的变量及值
$HTTP_COOKIE_VARS  //保存http协议头中的cookie变量及值

解决方案 »

  1.   

    好像现在这几个变量都改名字了
    $_POST
    $_GET
    $_COOKIE
    还有一个
    $_SESSION
      

  2.   

    1.html<form action="2.php" method="post">.........<!-- here is your something(input) wanted to submit to 2.php -->
    <input type="submit" name="submit" value="submit">
    </form>2.php<?php foreach($HTTP_POST_VARS as $varname => $value)
          $formVars[$varname] = $value;
          //到这里,1.html form里的变量就都被POST到数组$formVars[]里了,$varname是
          //1.html form里面<input ..... name ="*****"..value="xxxx"> 中的*****
          //数组$formVars[]是关联数组
          //如果1.html 的form里有<input type ="text" name ="myname" size=50>
          //那么 $formVars["myname"]现在就等于你在单行文本框中输入的值
    ?>$HTTP_GET_VARS的用法类似