universal email not working with ecart
Hi,
Can you take a look at my code for the universal email extension. It has been working fine for months, but then I got a new hard drive and had to reinstall the extensions in dreamweaver and now it does not seem to work.
Here is the code:
<?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 = "".((isset($_SESSION["eCartCheckoutForm_email"]))?$_SESSION["eCartCheckoutForm_email"]:"") ."";include("WA_Universal_Email/WAUE_confirm_3.php");
//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
?>
Please help!