Hi all , I use php 5.3.1
I try to run some php programmer , I get the error Deprecated: Function session_register() I already set the register_globals to On
what else that I can do ,
Deprecated: Function session_register()
Moderator: General Moderators
Re: Deprecated: Function session_register()
First, register_globals should be off. If the PHP application does not work with it off, you should consider refactoring the application.
Second, session_register() is deprecated. You should use the $_SESSION superglobal array instead. All of this is explained in the manual.
Second, session_register() is deprecated. You should use the $_SESSION superglobal array instead. All of this is explained in the manual.