Hi,
I have a server configured against a site and everything was fine until the server crashed. I had to re-configure the server with PHP-MySQL and the site is now successfully running.
Now there is a strange problem that there is a Session in the site which is set against the UserID when the user successfully signs in.
session_register("MM_UserID");
Now this session variable is assessed as [ $MM_UserID ] at certain points and it gives NULL at every point. Ofcourse, the variable should be assessed as "$_SESSION[MM_UserID]", but the previous developer has used it in the site as [$MM_UserID], and it actually worked fine previously.
Now either, there must be some setting in the PHP.ini file or else, can anyone of you please help me in this regard.
Either some change may be devised in PHP.ini file or I may assign the Session value to some Global Variable which can be assessed by all $MM_UserID's throughout the site.
Thanks.