1
ponka
HTTP_POST_VARS is obsolete in php 5
  • 2005/1/23 16:31

  • ponka

  • Just popping in

  • Posts: 8

  • Since: 2005/1/21


Xoops v2:
install/index/php has the following line:
$language = $HTTP_POST_VARS['lang']

php v5 has choosen a new variable _POST to do what HTTP_POST_VARS does. Although set "register_long_arrays = On" in php.ini can allow you to use the old variables, it is really not preferred. I hope in the future version, XOOPS can update those predefined variables to php v5 format.



Tom
Taipei
January 23, 2005

2
ackbarr
Re: HTTP_POST_VARS is obsolete in php 5

though this is an old post, if you are using the installer for 2.0.9.2 it already uses $_POST instead of $HTTP_POST_VARS. In fact, the entire 2.0.9 line should be the same.

Login

Who's Online

328 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits