PHP Tips, register_globals

Do you have scripts which suddenly stopped working after you upgraded your PHP version? Chances are, the scripts assumed that register_globals was on (the default for quite awhile) and now that register_globals is disabled by default, the scripts no longer recognize incoming post/get/cookie variables. Add the following lines to your scripts to get them functioning again:



Comments are closed.