index.html
<form action="http://skytablogs.comlu.com/send.php" method="post"> Destino: <input type = "text" name = "destino"><br> Nombre: <input type="text" name="nombre"><br> Edad: <input type="text" name="edad" size = "4"><br> <textarea name ="exp">Experiencia</textarea><br> <input type="submit" value="enviar datos"> </form> |
send.php
<?php $a = $_REQUEST['destino']; $asunto = $_REQUEST['nombre']; $cuerpo = "Edad " . $_REQUEST['edad'] . " Experiencia: " . $_REQUEST['exp']; mail($a, $asunto, $cuerpo) ?> |
0 comentarios:
Publicar un comentario