[thelist] php: difference between post vars?

muinar evolt at muinar.com
Fri Aug 8 02:09:39 CDT 2003


At 01:16 07.08.03, you wrote:

>>There's an additional different: $_POST (and $_GET and family) are
>>
>>super-globals - they are available at all times, even inside
>>functions. $HTTP_POST_VARS (which is deprecated and should not be
>>used)
>this needs to be qualified - it should not be used *if your php version is 
>4.3 +*, if you use $_POST / $_GET under a previous php version, they are 
>not recognised as either superglobal or representative of the post or get 
>vars array

Are you sure that it was 4.3? The manual says this:

HTTP POST variables: $_POST
Note: Introduced in 4.1.0. In earlier versions, use $HTTP_POST_VARS.

Mike




More information about the thelist mailing list