Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/08/2006, 09:34
Avatar de the_scorpion
the_scorpion
 
Fecha de Ingreso: mayo-2006
Ubicación: Cuba
Mensajes: 696
Antigüedad: 18 años
Puntos: 3
Hola

Digo:
- prueba esto que hice de forma rapida

form.php
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<
head>
<
title>Documento sin t&iacute;tulo</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</
head>

<
body>
<
table width="304" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td width="304"><form name="form1" method="post" action="envio.php">
      <
input name="nom" type="text" id="nom" value="nom">
      <
input name="mail" type="text" id="mail" value="mail">
      <
br>
      <
input name="iden" type="text" id="iden" value="iden"
      <
input name="tele" type="text" id="tele" value="tele"
      <
br>
      <
input name="mov" type="text" id="mov" value="mov"
      <
input name="emp" type="text" id="emp" value="emp"
      <
br>
      <
input name="car" type="text" id="car" value="car">
      <
select name="select">
        <
option>varlo1</option>
        <
option>varlo2</option>
        <
option>varlo3</option>
        <
option>valor4</option>
      </
select>
      <
br>
      <
textarea name="com" cols="45" id="com">com</textarea>
      <
br>
      <
input type="submit" name="Submit" value="Enviar">
            </
form></td>
  </
tr>
</
table>
</
body>
</
html
envio.php
Código PHP:
<?
$dest 
"[email protected]";
$subject "Registro al Club de Gestion Estrategica";


// armar mensaje
$mensaje .= "Nombre: $nom\n";
$mensaje .= "Email: $mail\n";
$mensaje .= "identidad: $iden\n";
$mensaje .= "Telefono: $tele\n";
$mensaje .= "Celular: $mov\n";
$mensaje .= "Empresa: $emp\n";
$mensaje .= "Cargo: $car\n";
$mensaje .= "Selección: $select\n";
$mensaje .= "Comentario: $com\n";


mail($dest$subject$mensaje);
?>
- modifica en envio.php tu email
__________________
Que hablen mal de uno es espantoso. Pero hay algo peor: que no hablen.
Quien hace, puede equivocarse. Quien nada hace, ya está equivocado".