11
kahumbu
Re: Hack
  • 2004/4/18 6:17

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Thanks, Dave_L! I had the gut feeling that the $myts-> was not needed.

Thanks for the heads up on the $_SERVER. When I did the hack, I checked the script and I saw $HTTP_POST_VARS so I thought I'd just stick with standard syntax used.

In the next versions, will $_POST, $_GET, etc be used instead of the long way?


12
Dave_L
Re: Hack
  • 2004/4/18 8:55

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7




My understanding is that $_POST, $_GET, etc., will be used in new code. Those "superglobals" are supported in PHP 4.1 or higher, and XOOPS is supposed to require PHP 4.1 or higher.

I don't know if there are any plans to replace all existing occurrences of $HTTP_POST_VARS with $_POST, $HTTP_GET_VARS with $_GET, etc.

Login

Who's Online

215 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

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

Latest GitHub Commits