Not sure where the problem is; if you don't trust a variable, don't use it. If you want to use a variable, explicitly set it to some default value before using it. You can get $address to have the same value as $POST['address'] by going $address=$POST['address']. Or you can use the $_POST superglobal exclusively.
You can turn off registry of global variables by starting the script off with a
ini_set('register_globals',0);
This would have the same effect as if this had been a php.ini setting. However, this is off by default, now.