Ver Mensaje Individual
  #27 (permalink)  
Antiguo 08/09/2010, 11:46
Avatar de silvanha
silvanha
 
Fecha de Ingreso: marzo-2006
Ubicación: En mi mundo de sueños
Mensajes: 653
Antigüedad: 18 años, 1 mes
Puntos: 65
Respuesta: Carro de compras sin compra online

Cita:
Iniciado por silvanha Ver Mensaje

Código PHP:
Ver original
  1. $to      = "[email protected]"; // esto ya esta en contact.php
  2. $subject = '[Contact Form] : ' . $subject; //esta también ya la tienes en contact.php
  3. $header = "MIME-Version: 1.0\r\n Content-type: text/html; charset=iso-8859-1\r\n From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"; //lo vamos a crear nota que le agregamos lo que ya tenemos en tu archivo, solo estamos completando
  4.  
  5. $msg = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6.                     <html xmlns="http://www.w3.org/1999/xhtml">
  7.                        <head>
  8.                           <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  9.                        </head>
  10.                        <body>'.$suma.' From : '.$name.' <br />e-Mail :'. $email .'<br />Subject : '.$subject.' <br /> Message : '.$message.' <br/><br /> Productos seleccionados:'.$_SESSION["ocarrito"]->muestra_carrito().'</body></html>';
pues ya lo había dicho, en el cuerpo del mensajo O.O'

jejeje es obvio que si no lo anexas, no te lo va a meter en el mensaje.. creo que por el ancho de highlight, no se ve completo, pero checa la variable $msg, ahí es donde lo agregas :)
__________________
●•· No hay nada imposible..
●•· Vico-X.. ;)