if (ini_get('register_globals')) {
echo "register_globals is <b>on</b>";
} else {
echo "register_globals is <b>off</b>";
}
?>
this will check to see if register globals are on or off.
just thought it might come in handy for some newbies
Moderator: General Moderators