The following code . . .
. . . preceeds the HTML (doctype, etc.) - the server in question is "live" in the FL Keys. Am trying to contact them (e-mail only).
TWF_Product_Fishshapes01.php
leads to
TWF_Artisans_Checkout.php
Is this a rude interruption to your day time-wise?
<?php
//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?>
<?php
$eCart1->GetContent();
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["TaxRate"] = "billStateList";
}
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["TaxRate"] = "".((isset($_POST["billStateList"]))?$_POST["billStateList"]:"") ."";
}
?>
<?php
//WA eCart Check Out Update
if (isset($_POST["eCart1_Checkout_1"]) || isset($_POST["eCart1_Checkout_1_x"])) {
$eCart1->UpdateCart();
$eCart1->cartAction = "CheckOutUpdate";
}
?>
<?php
//WA eCart Redirect Check Out
if (isset($_POST["eCart1_Checkout_1"]) || isset($_POST["eCart1_Checkout_1_x"])) {
$Redirect_redirStr="https://www.paypal.com/cgi-bin/webscr";
if ($Redirect_redirStr != "") {
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
if (strpos($Redirect_redirStr, "?") === false) {
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
}
else {
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
}
}
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "Checkout";
}
?>
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
header("Location: ".$eCart1->redirStr);
}
?>