何时使用$ HTTP_POST_VARS ['field']和$ _POST ['field']?

时间:2010-06-11 08:51:45

标签: php

使用$ HTTP_POST_VARS ['field']和$ _POST ['field']有什么区别? 有什么区别?

1 个答案:

答案 0 :(得分:15)

$HTTP_POST_VARS is the old (deprecated since PHP4.1.0) way of accessing POST data。你现在从不使用它,除非你正在研究一个古老的遗留应用程序。