Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why don $HTTP_POST_VARS, $HTTP_GET_VARS and all the $HTTP_*_VARS predefined array work?

array predefined
0
10 Posted

Why don $HTTP_POST_VARS, $HTTP_GET_VARS and all the $HTTP_*_VARS predefined array work?

0
10

The use of $HTTP_POST_VARS, $HTTP_GET_VARS and the other $HTTP_*_VARS predefined arrays has been deprecated since PHP 5.0.0. From PHP 4.1.0 you can use the superglobals ($_POST, $_GET and so on) in the place of the long predefined arrays. If your code still relays on the long predefined array you can enable them editing the php.ini.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.