Skip to content

Getting errors on the register page  #4

@kabengwa

Description

@kabengwa

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.


<th align='left' bgcolor='#f57900' colspan=
( ! ) 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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions