Say register_globals is on by server default.
$serverip= "server IP address here";
//security check
if ( $SERVER_ADDR != $serverip ) {
mail("account@server.com", "Possible breaking attempt", $_SERVER['REMOTE_ADDR']);
echo "Security violation! You IP has been logged: $REMOTE_ADDR";
die();
}
so this will prevent all security issues related to register_globals and I don't need to write that array blah blah things explained in the most manuals. Am I right or missing some points?