I have three pages and I would like to have the process be in this order..
1) User types in email in a form and hits enter
2) There is a middle page that keeps the same email post data from user and sends the user to mailing list (same domain as in step 1) I’m sure I’ll use a php header.
3) The mailing list receives the email (different domain)
I really do not have any clue on how to start this. Is there a better way? I just need that middle page to be there…
Thank you.
Simply: http://php.net/manual/en/features.sessions.php
Your middle page would look like this:
Now,
$_SESSION['myvar']can be referenced on any page wheresession_start();is placed.