HTML - Problem con formulario

 
Vista:

Problem con formulario

Publicado por KeNyZ (1 intervención) el 01/05/2010 23:07:25
Hola, bueno, les explico mi problema... Tras ir copiando y pegando una serie de códigos hice un formulario para una página web, pero es un formulario en el que tu escribes en los recuadros, y luego le das a enviar, y te debería de crear un POST de un foro, con todos los códigos de [img], con todo apra copiar, pegar y tener el post hecho, no se si me he explicado bien oseaque mejor os dejo aquí el ejemplo de a lo que me refiero:

[url="http://www.tibimate.es/forum/generadormusica.html]AQUI[/url]

El error que da, es que pese a haber escrito y rellenado todo , luego al crear el post no sale nada en el otro código, se que el fallo está relacionado con html, porque deberia ser en .php y utilizando las variables $_POST , pero no sé bien como se utilizan, y lo he intentado varias veces pero no he conseguido que funcione correctamente. :(

Aqui les dejo los codigos por si hay algo que puedan hacer.. MUCHAS GRACIAS

Aqui el formulario:

[code]
<html>
<head>
<title>Generador de Post de lo que te salga de los cojones</title>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css">
<!--
body {
background-color: #e5e5e8;
}
.Estilo8 {color: #002E7F; font-weight: bold; }
.Estilo9 {color: #002E7F}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body text="black">
<center>
<form name="formu" action="postcreadomusica.html" method="post">
<table><tr align="center"><td colspan=2><p class="Estilo9"><h1>Generador subidas música<h1></p>
<p class="Estilo9"><img src="http://i1010.photobucket.com/albums/af227/Tibimate/PORTADA.png" alt="Portada"><br>
[img][/img]<br>

</p>
<tr align="center"><td colspan=2><span class="Estilo9">
<input name="portada" type="text" size="80">
<br>

</span>
<tr align="center"><td height="252" colspan=2><span class="Estilo9"><img src="http://i1010.photobucket.com/albums/af227/Tibimate/INFORMACION.png" alt="Ficha técnica"><br>

</span>
<tr align="center">
<td><span class="Estilo8">Año:
</span>
<td><span class="Estilo8">
<label></label>
<input name="ano" type="text" size="60" id="ano">
</span>
<tr align="center">
<td><span class="Estilo8"> Cantante/Grupo: </span>
<td><span class="Estilo8">
<input name="CantanteGrupo" type="text" size="60" id="CantanteGrupo">
<br>
</span>
<tr align="center">
<td><span class="Estilo8">Género:
</span>
<td><span class="Estilo8">
<input name="genero" type="text" size="60" id="genero">
<br>
</span>
<tr align="center"><td colspan=2><span class="Estilo9" alt="Informacion extra"><span class="Estilo8">Información extra:
</span><br>
</span>
<tr align="center"><td colspan=2><span class="Estilo9">
<textarea cols="80" rows="5" name="informacion" id="informacion"></textarea>
<br>

</span>

<tr align="center"><td colspan=2><span class="Estilo9"><img src="http://i1010.photobucket.com/albums/af227/Tibimate/TRACKLIST.png" alt="Informacion"><br>
</span>
<tr align="center"><td colspan=2><span class="Estilo9">
<textarea cols="80" rows="5" name="informacion" id="informacion"></textarea>
<br>

</span>

<tr align="center"><td colspan=2><span class="Estilo9"><img src="http://i1010.photobucket.com/albums/af227/Tibimate/FICHATCNICA.png" alt="Datos Tecnicos"><br>
</span>
<tr align="center">
<td><span class="Estilo8">Calidad: </span>
<td> <span class="Estilo8">
<input name="calidad" type="text" size="80" id="calidad">
</span>
<tr align="center">
<td><span class="Estilo8">Idioma: </span>
<td>
<input name="idiomas" type="text" size="80" id="idiomas">
<tr align="center">
<tr align="center"><td colspan=2><span class="Estilo9"><img src="http://i1010.photobucket.com/albums/af227/Tibimate/VIDEOCLIP.png" alt="Trailer"><br>
</span>
<tr align="center">
<td><span class="Estilo8">Videoclip: </span>
<td><span class="Estilo8">
<input name="videoclip" type="text" size="80" id="videoclip">
</span>
<tr align="center"><td colspan=2><span class="Estilo9"><img src="http://i1010.photobucket.com/albums/af227/Tibimate/DESCARGAR-1.png" alt="Torrent"><br>
</span>
<tr align="center">
<td><span class="Estilo8">URL Torrent: </span>
<td><span class="Estilo8">
<input name="torrent" type="text" size="80" id="torrent">
</span>
<tr align="center"><td colspan=2><span class="Estilo9">
<input type="submit" name="enviar" value="Crear Post">
</p>
</span>
</table>
</form>


</center>
</body>
</html>
[/code]

Aquí a donde deberia ser enviado:

[code]
<html>
<head>
<title>Generador de subidas musica</title>
<style type="text/css">
<!--
.Estilo3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #006633; }
.Estilo4 {color: #002E7F}
body {
background-color: #e5e5e8;
}
.Estilo8 {color: #002E7F; font-weight: bold; }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body text="black">
<div align="center">
<p><br>
<h1>Generador de subidas musica<h1><br>
</p>
</div>
<center>
<p class="Estilo3 Estilo4">Copia el codigo que ha sido generado en el post:</p>
<table border="0" bordercolor="#000000" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><div align="center">
<p><br>
</p>
<p>[center][img]http://i1010.photobucket.com/albums/af227/Tibimate/PORTADA.png[/img]<br>
[img][/img]<br>
<br>
[img]http://i1010.photobucket.com/albums/af227/Tibimate/INFORMACION.png[/img]<br>
[b]Año:[/b] <br> $_POST[ano];
[b]Cantante/Grupo:[/b] <br>
[b]Genero:[/b]<br>
[b]Informacion extra:[/b]<br>

<br>
[img]http://i1010.photobucket.com/albums/af227/Tibimate/TRACKLIST.png[/img]<br>
<br>
<br>

<br>
[img]http://i1010.photobucket.com/albums/af227/Tibimate/FICHATCNICA.png[/img]<br>
[b]Calidad:[/b] <br>
[b]Idioma:[/b] <br>
[img][/img]<br>
<br>
[img]

http://i1010.photobucket.com/albums/af227/Tibimate/VIDEOCLIP.png[/img]<br>
[b]Videoclip:[/b] [youtube][/youtube]<br>
<br>
[img]http://i1010.photobucket.com/albums/af227/Tibimate/DESCARGAR-1.png[/img]
</div></td>
</tr>
</table>
<hr>
</center>
</body>
</html>

[/code]
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Problem con formulario

Publicado por ivan flores (3 intervenciones) el 07/05/2010 22:11:10
disculpa soy nuevo en html.

quiero que cuando llenen mi formulario llegue la informacion a mi correo como se logra eso??

no se si es similar mi problema al tuyo pero si tiene respuesta a esto por favor te lo agradeceria.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar