05/11/2008, 16:16
|
| | | Fecha de Ingreso: julio-2008 Ubicación: Costa Rica
Mensajes: 1.458
Antigüedad: 16 años, 4 meses Puntos: 53 | |
Codigo inoperante y el PHP: Código PHP:
<!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" />
<META HTTP-EQUIV="Refresh" CONTENT="7;URL=http://www.dceservices.com/index.html">
<title>Send_pledge</title>
<style type="text/css">
.style1 {
color:#0000FF;
font-weight: bold;
}
.style2 {color: #FF0000}
</style>
</head>
<body>
<p> </p>
<?php
////////////////////Aqui va la respuesta inmediata al cliente//////////////
$email = $_POST["email"] ;
$myname = "DHails Community Enhancement Services,*Inc." ;
$myemail = "[email protected]" ;
$subject = "Pledge form Received. " ;
$body = "Dear $name \n
We have received your information. Thank you.
Respectfully
Denise Edwards-Hails.
Founder and CEO of DHails Community Enhancement Services,*Inc.
www.dceservices.org "*;
$headers = "Content-Type: text/plain; charset=us-ascii\nFrom: $myname <$myemail>\nReply-To: <$myemail>\nReturn-Path: <$myemail>\nX-Mailer: PHP";
mail($email,$subject,$body,$headers);
$myemail = "[email protected]";
///////// Aqui va lo que se llena en el formulario //////////
if (!isset($visitormail))
echo " www.dceservices.com " ;
$todayis = date("m d Y") ;
$subject = "$name , From Your Web Page" ;
$message = " $todayis [EST] \n
Name: $name \n
Billing address: $billing \n
City: $city \n
State: $state \n
Zip Code: $zip_code \n
Home Telephone: $phone_home \n
Business Telephone: $phone_business \n
Fax: $fax \n
E-Mail: $email \n
Pledge Information \n
I (we) pledge a total of \n
$amount \n
Dolars. to be paid: \n
$time \n
I (we) plan to make this contribution in the form of: \n
$plan \n
Credit card type: $card_type \n
Credit card number: $card_number \n
Expiration date: $expiration_date \n
Authorized signature: $signature \n
Gift will be matched by*: $gift \n
(company/family/foundation): $company \n
Form enclosed: $enclosed
*form will be forwarded. \n
Acknowledgement Information \n
Please use the following name(s) in all acknowledgements:
$all_name
I (we) wish to have our gift remain anonymous.
Signature(s) : $signature2 \n
Date: $date \n
Date: $todayis \n
RECIEVED CHURCH ACTIVITIES DATA BASE ;
Referral : $httpref \n
";
$from = "From: $myemail\r\n";
if ($myemail != "")
mail($myemail, $subject, $message, $from);
?>
<p> </p>
<p align="center" class="style1"><strong>Thanks by send the Pledge information</strong></p>
<p align="center" class="style1"><strong>We will E-Mail you soon</strong></p>
<p align="center" class="style1">If you do not see an email in your inbox please check your spawn email box</p>
</body>
</html>
__________________ "Al que venciere y guardare mis obras hasta el fin, yo le daré autoridad sobre las naciones." Apocalipsis 2: 26
Servicios para Pymes http://dst.co.cr |