Hello
I have a website with an online subscription form in PHP.
Current status:
Step1/- A visitor fills in his name and email address.
Step 2/- Next, I get visitor name and email address inside my INBOX.
Step 3/- Next, I send an email to confirm his email address.
(Like…Just reply me back to confirm your email address etc…)
Current PHP form
[[[ Page with PHP Form Code ]]]
Name* | |
E-mail* | |
<input id="submit" type="image" src="images.png"value="submit" name=“submit” rntsubmit=“true”>
|
===========================
[[[ Confirmation Page Code ]]]
<?php
$name = $_REQUEST[‘name’] ;
$email = $_REQUEST[‘email’] ;
$body = “A user $name send data \n”.
“Name: $name\n”.
“Email: $email \n”.
mail( "[email protected]", “User Data via Web Form”, $body );
?>
Question:
I want to automate the step 2 and step 3.
Like,… I get visitor data inside my inbox but at the same time website visitor also gets an
automatic email message from my side.