|
With register_globals on your variables $name and $email2 are already defined within the global scope (being formed as part of $_POST array from the contact form script)
With register_globals off you need to define $name and $email2 with reference to scope.
$name = $_POST['name'];
$email2= $_POST['email2'];
|