I’m sure there is an easy way for this, but I’m unable to find it. I’m migrating my existing site over to Expression Engine. On my old site I have a form action (newsletter registration) that goes to a .php page that emails me the content of the form submit.
I did the following:
- I created a response_template that housed my PHP code
- I set the preferences for the repsonse_template to allow PHP
- I included the following html in the registration form
<form action="{path={my_template_group}/response_template}" id="contactform" method="post">I receive the following errors on the response template page, when i submit a registration:
Notice: Use of undefined constant email - assumed ‘email’
Notice: Undefined variable: HTTP_POST_VARS
Warning: reset(): Passed variable is not an array or object
I’m going to use EEs newsletter feature soon, but 1) I need to migrate quickly and 2) I need to capture a number of additional fields and 3) I need an email alert when somone submits a newsletter registration.
Thanks in advance for the newbie question.