Instructions:
1) Lets say you create a
form using BlueVoda and you name the page that the form is
on "contact",
You can name the page anything you like but for this example
lets say you name it "contact".
The full URL your visitor would type into their browser to
get to the page your form is on would
be the below....
www.YourDomainName.com/contact.html
Change the form
properties (in BlueVoda) to:
Action: contact.php
(replace the "contact" with whatever
the page name is)
Method: POST
EncodingType: (remove the
text/plain, so the field becomes empty)
2) Now create a
new file using Notepad and call it: contact.php
So now you will have two pages
one called
www.YourDomainName.com/contact.html
and one called
www.YourDomainName.com/contact.php
Enter the following code into the file (replace
order@example.com with
your own email address):
<HTML>
<HEAD>
<TITLE>Succesfully processed your order</TITLE>
</HEAD>
<BODY>
<H2>Thanks for your order!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "order@example.com";
$mailsubj = "Enter Your Subject
Here";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HTML>
3)
Now use
BlueFTP upload the above .php file to your web server and place it
in your public_html
folder.
Note: The above script must be uploaded to the server
for it to work.