I had an issue dealing with my sessions when I upgraded to the RC2, at first I thought it was a bug, but I figured out the problem. I was wondering if anyone could elaborate on what exactly this means. This is copied from php.ini, this variable when set to 1, fixes my problem, and when set to 0 (default) breaks it again.
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled. PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning seperately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled.
session.bug_compat_42 = 1
session.bug_compat_warn = 1
The bug testing I did on my scripts showed that the session_register calls I was doing were registering the variables blank! I checked the variables before registering them, and checked the session variables afterwards using a foreach statement, and it registered all the names correctly, but not the values. What can/should I do to get used to the NEW way? I'm gonig to play with it a little and check back later. Thanks in advance!!
Andy "NiX" of www.nixxed.org