I want to add some code that would show an error message if register globals is on or if it is off How to write the code to do this check ? if register_globals is off then show this message or if on show this message
if(ini_get("register_globals")) { echo "register_globals is ON"; } else { echo "register_globals is OFF"; }
Thank You