|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/lilly.david/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Sender</title>
</head>
<body>
<table width="89%" border="0" align="center">
<!--DWLayoutTable-->
<tr>
<td height="128">
<?
@import_request_variables("gpc");
//This is the email address the message will be sent to
$youremail = "[email protected]";
//This is the page the user will be redirected
$redirect = "http://www.lillydavid.com/";
//This is the amount of time it will take for the user to be redirected (in seconds)
$secs = "6";
?>
<div align="left"><br>
<?
//Checks to see if the name, message or email fields are empty. You can delete or add fields as needed.
if ( (!empty($name)) && (!empty($message)) && (!empty($email)) )
{
$name = stripslashes($name);
$message = stripslashes($message);
$headers = 'From: '.$email.'';
//This is where the email is sent using your values from above. if you add new fields in contact.php, this has to be updated
mail("$youremail", "$subject","
Name: $name
Phone: $phone
Email: $email
Subject: $subject
Message: $message
",$headers);
?></span> </div>
<meta http-equiv="refresh" content="<?=$secs;?>;URL=<?=$redirect;?>">
<div align="left"><span class="style13 style10 style10 style14"> <font size="2" face="Times New Roman, Times, serif">Message
sent. </font></span></div>
<p align="left" class="style13 style10 style10 style14"> <font size="2" face="Times New Roman, Times, serif">You
are now being redirected to the <a href="<?=$redirect;?>">homepage</a>.
<?
}
else
{
?>
your name, email address and a message is required in order to reply to
your message. Please click <a href="javascript:history.back(1);">here</a>
or your browsers back button to try again.</font>
<?
}
?>
</td>
</tr>
<tr>
<td width="1060" height="375"> </td>
</tr>
</table>
</body>
</html>