Hola, estaba creando un formulario y quería que los datos se envíen al correo pero no sé que sucede y no me funciona, he intentado de todo pero no he podido, espero su ayuda. Este es el formulario:
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="es-Es" xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Reenie+Beanie' rel='stylesheet' type='text/css'>
body {
background:url(fondo.jpg) no-repeat fixed center;
background-position:center;
}
form {
background:#333333;
width:360px;
border:1px solid #4e4d4d;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
margin:100px auto;
}
form h1 {
text-align: center;
color: #ffffff;
font-weight:black;
font-size:18pt;
margin-left: 0px;
margin-right: 30px;
margin-top: 15px;
margin-bottom: -40px;
font-family: 'Rock Salt', cursive;
}
form input{
width:280px;
height:35px;
padding:0px 10px;
color:#6d6d6d;
margin-top:10px;
margin-bottom:5px;
font-family: 'Reenie Beanie', cursive;
font-size: 17pt;
}
form label{
width:280px;
height:35px;
padding:0px 0px;
color:#ffffff;
text-align:center;
font-family: 'Indie Flower', cursive;
}
form button{
width: 135px;
margin-top:5px;
height:50px;
border:1px solid #232323;
color: %fff;
box-shadow: 0px 2px 0px #000;
-moz-box-shadow: 0px 2px 0px #000;
-webkit-box-shadow: 0px 2px 0px #000;
border-radius: 3px;
-moz.border-radius: 3px;
-webkit-border-radius: 3px;
}
form button:hover{
background:#B2B2B2;
}
form button:active{
background: #F9F9F9;
}
<form method="post" action="miformu.php"> <h1><b> Registrese para mantenerse en contacto con nosotros
</b><br /></h1><br />
<input type="text" name="nombre" placeholder="Ejm: Giancarlo" required />
<input type="text" name="nombredos" placeholder="(Opcional)" />
<input type="text" name="apellidos" placeholder="Ejm: Rosero Portillo" required />
<input type="date" name="nacimiento" name="nacimiento" required />
<label for="name">Ingrese un nombre de usuario:
</label> <input type="text" name="usuario" placeholder="Nombre de usuario" required />
<input type="password" name="clave" required />
<textarea name="Mensaje" name="opinion" placeholder="Escribenos tu opinión:" cols="40" rows="6"></textarea>
<input type="submit" value="enviar" id="boton">
El cual redirige a la sig. página: [URL="http://creacioninternetgian.site90.net/"]http://creacioninternetgian.site90.net/[/URL]
Y en el php tengo esto:
Código PHP:
Ver original<?php
$nombre=$_POST["nombre"];
$nombredos=$_POST["nombredos"];
$apellidos=$_POST["apellidos"];
$nacimiento=$_POST["nacimiento"];
$correo=$_POST["correo"];
$usuario=$_POST["usuario"];
$clave=$_POST["clave"];
$opinion=$_POST["opinion"];
$contenido= "Nombre: " .$nombre. "\nnombredos" .$nombredos. "\nApellidos: " .$apellidos. "\nNacimiento: " ."\nCorreo: " .$correo. "\nUsuario: " .$usuario. "\nClave: " .$clave. "\nOpinion: " .$opinion;
mail($destino, "Mensaje de prueba", $contenido); echo "Se envió el mensaje";
?>
Según todo y eso sale que se ha enviado; pero NO LLEGA NADA




espero me ayuden, gracias