Form difficulties
I've been working at this slowly and steadily...thanks for all who've been helping me and being patient with me.
I'm trying to build a simple form, have users enter info and have that info returned to me @ my email address.
I purchased the Super Suite and couldn't get Universal Email to work (so I purchased the Solution Suite, ignorant to UE requiring asp or php page to function) I was using the Solution Suite trying to get my Form Builder form to work, until I was informed I going about it wrong (Thanks Neilo). So I'm now at trying to get my form below to work:
consult.html
I opened up a PHP page in Dreamweaver & went into Insert-WA-Universal Email.
I followed through entering my info as instructed in the help documentation. And I generated a thank you page for users who successfully complete the form.
thank_you.html
I uploaded my HTML pages...the php page where I inserted Universal Email & the folder that Universal Email generated onto my server and tried to fill out the form online and when clicking the Book Me (Submit Button) It simply links to my consult.php page.
I'm confused yet again.... I attached the folder UE generated. I couldn't attach php files so the code is below:
consult.php:
<?php require_once("WA_Universal_Email/mail_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "";include("WA_Universal_Email/WAUE_consult_1.php");
//Send Mail All Entries
if ("thank_you.html"!="") {
header("Location: thank_you.html");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
Thanks in advance for assistance,
Impeccable