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 ]]]
<form name="form" id="form" method="post" action="thankyou.php">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td><span class="style66">Name*</span></td>
<td><input name="name" type="text" id="name" /></td>
</tr>
<tr>
<td><span class="style66">E-mail*</span></td>
<td><input name="email" type="text" id="email" /></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<p> </p>
<p>
<input id="submit" type="image" src="images.png"value="submit"
name="submit" rntsubmit="true">
</p>
</div></td>
</tr>
</table>
</form>
===========================
===========================
[[[ Confirmation Page Code ]]]
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$body = "A user $name send data \n".
"Name: $name\n".
"Email: $email \n".
mail( "myemail@mydomainname.com", "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.
Best wishes,
Dave
======================
Bookmarks