1
colossus
Regarding PHP5
  • 2007/10/29 9:47

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

I'm updating a XOOPS installation to make it PHP5 compatible. I've read (for example in this thread) that $HTTP_GET_VARS should be changed to $_GET, $HTTP_POST_VARS to $_POST and $HTTP_COOKIE_VARS to $_COOKIE... but the modules in my installation that still use the old sintax seem to work OK in my PHP5 test site.

Question is, does modern XOOPS (I'm using 2.0.17.1) include some hack to make $HTTP_GET_VARS and the like work? May I leave the working modules unchanged, or should I do a search&replace?

Thanks in advance, and regards: Colossus

2
hervet
Re: Regarding PHP5
  • 2007/10/31 17:42

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


You have several options :
1/ Use a search & replace, but read every replaced that your editor found
2/ Configure your Php (via php.ini) so that it does not use the "strict mode" (but it is not really recommended)

Login

Who's Online

374 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 374


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