-
Notifications
You must be signed in to change notification settings - Fork 6
Description
is it possible to create an index page that has the input for the email because i have tried to create one with its action pointing to the register.php but just returning that below.
`initialize($email); $Email = new Email(); $Email->subject = "Confirm Registration"; $Email->recipient = $EmailRegistration->email; $Email->sender = 'noreply@example.com'; $Email->message_html = file_get_contents('emails/register.htm'); $Courier = new Courier(); $Courier->send($Email); $registered = true; } catch (Exception $e) { $email_error = true; } } echo $email = $_POST['email']; // if the user has registered, let them know it worked if ($registered) { ?>
Thank You
Your registration has been processed.
You will receive an email with instructions to confirm your registration.
You entered an invalid email address.
( ! ) Notice: Undefined variable: email in C:\wamp64\www\test\double-opt-in-registration-php-master\register.php on line 45 Call Stack #TimeMemoryFunctionLocation 10.0010240088{main}( )...\register.php:0 " /> Subscribe`