I have this very old intranet system, which was implemented I think 6-8 years ago. I encountered some problem since the one that I am using right now is the latest version of PHP, of course some are already deprecated.
I was able to fix/adjust some deprecated php functions, allow php to read short tag <? ?>, etc. However there is still one more that I want to fix, but I’m not sure how.
My First plan is to change all global variables to $_GET, but It is very tedious and the fact that I just want to have a running copy in my local. Down grading my PHP version is also not an option because I am also using it on my other projects.
So my question now is, is there a php.ini configuration that I can set so that the system will run without errors/warning and can recognized global variables?
register_globalsis the configuration switch you are talking about: http://www.php.net/manual/en/security.globals.phpIt is deprecated since PHP 5.3.0 and removed since PHP 5.4.0 because it has serious security issues. Please do yourself and your client a favor and change all these variables.