Manual talk:Hooks/AbortNewAccount

Question: Where shout I insert this code?

Create an extension with a php function that is then hooked to the hook. Add extension to Localsettings.php.

Question: What information is available in the $user Variable?

Question: How can I access the E-Mail address entered by the user in the login/create account email field?