[KLUG Members] php 4.1.2 to 4.3.3 session handling

Richard Harding rick at ricksweb.info
Wed Dec 8 07:20:03 EST 2004


Jon Smitley wrote:

>OK.  I found out this has to do with register_globals.  For my current script 
>to work, it needs these to be on. How would I go about rewriting these so 
>they register_globals can stay off?
>
>Jon
>Minding of Madness
>
>  
>
Is you have a session variable called $increment with registered globals 
on you need to change it to $_SESSION['increment'] with registered 
globals off.

Rick


More information about the Members mailing list