  |
if (isset($_REQUEST['tstmp'])) {
$timestamp = intval($_REQUEST['tstmp']);
} else {
$timestamp = intval(mktime());
}
$checksum = md5("solkaf93:{$timestamp}:{$_SERVER['REMOTE_ADDR']}");
$action = $_REQUEST['action'];
$ec_design = $_REQUEST['ec_design'];
$ec_to_name = substr($_REQUEST[$f1], 0, 60);
$ec_to_email = substr($_REQUEST[$f2], 0, 100);
$ec_from_name = substr($_REQUEST[$f3], 0, 60);
$ec_from_email = substr($_REQUEST[$f4], 0, 100);
$ec_ccme = $_REQUEST[$f5];
$ec_notify = $_REQUEST[$f6];
$ec_message = $_REQUEST[$f7];
?>
if ($action == "Send") {?>
include('include/setup.php');
include('include/eCard.php');
if (isset($_REQUEST['chksm']) &&
$_REQUEST['chksm'] == $checksum &&
(abs(mktime() - $timestamp) < 3600) &&
(abs(mktime() - $timestamp) > 15) &&
!empty($ec_to_name) &&
!empty($ec_to_email) &&
!empty($ec_from_name) &&
!empty($ec_from_email) &&
!empty($ec_message)) {
send_ecard();
}
?>
 |
 |
|
Your Nina and Frederick eCard to has been sent. They will receive an email shortly. To send further eCards click here. |
 |
 |
}?> if ($action == "Edit") {?>
}?> if ($action == "Preview") {?>
}?> |
 |
|