Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 10:23 am EST

Geeklog Forums

1.4 beta - register_long_arrays?


Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
It says the new version finally doesn't need register_globals anymore, but what about register_long_arrays...?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It should work with register_long_arrays = off (again, some plugins and add-ons may still need it to be on).

bye, Dirk
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
[QUOTE from the detailed changes of 1.4 beta 1]It also displays a warning message if register_long_arrays is off (PHP 5 only, bug #360). [/QUOTE]
So what would it be?

Anyway, no support for register_long_arrays is much easier to apply than no support for register_globals. You just have to sit one time and run a global search and replace utility (e.g. replace $HTTP_SERVER_VARS with $_SERVER).

And remember, super globals (like $_SERVER) were introduced in PHP v4.1...which also happens to be the official minimum requirement for Geeklog.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by LWC: You just have to sit one time and run a global search and replace utility (e.g. replace $HTTP_SERVER_VARS with $_SERVER).

Guess what we did ...

The warning message about register_long_arrays in the install script says something like "While Geeklog itself will work just fine with that setting, some of the available plugins and add-ons may not." - which is what that entry in the history is all about.

bye, Dirk
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Ok, thanks!
 Quote

All times are EST. The time is now 10:23 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content