Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/06/2010, 21:40
carlosernes
 
Fecha de Ingreso: mayo-2010
Mensajes: 14
Antigüedad: 13 años, 11 meses
Puntos: 1
De acuerdo ayuda no se muestra la imagen

Buenas amigos tengo el siguiente problema quiero incluir una imagen en un formulario html que lo tengo almacenado en una variable pero a la hora q le pongo el de la imagen a lo tengo en una variable no se porq no sale
acontinuacion coloco el codigo q estoy utilizando
Código:
<?php
$de=$_POST['de'];
$de_e=$_POST['de_mail'];
$id=$_POST['id'];
$para=$_POST['para'];
$comentario=$_POST['comentario'];
$destino = $_POST['para_email'];
$asunto = "Resiviste una postal";
$cabeceras="Content-Type: text/html;charset=iso-8859-15"; 
     
$cuerpo ="
<table width=\"304\" height=\"262\" border=\"1\">
  <tr>
    <td height=\"56\" colspan=\"3\">Usted a Resibido un postal</td>
  </tr>
  <tr>
    <td width=\"75\" height=\"23\">De:</td>
    <td width=\"150\"></td>
    <td width=\"57\"></td>
  </tr>
  <tr>
    <td height=\"23\"></td>
    <td>$de</td>
    <td>$de_e</td>
  </tr>
  <tr>
    <td height=\"23\">Para:</td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height=\"23\"></td>
    <td>$para</td>
    <td>$destino</td>
  </tr>
  <tr>
    <td height=\"23\"></td>
    <td></td>
    <td></td>
  </tr>
 <img src=\"http://magicpostal.hostei.com/imagenes/postales/$id.jpg\"  alt=\"Magic Postal XD.... Lo mejor de lo mejor......!!!!\" />



  <tr>
    <td height=\"23\"></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height=\"23\">Comentario:</td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height=\"23\"></td>
    <td>$comentario</td>
    <td></td>
  </tr>
</table>
 

";

mail($destino,$asunto,$cuerpo,$cabeceras);
header('Location:../index.php')

?>
y lo raro que las otras variables si se muestran cuando llegan a mi correo....
si no coloco $id y pongo directamente el nombre de la imagen entonces si se muestra..!!