Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/01/2016, 15:06
joseph093
 
Fecha de Ingreso: septiembre-2010
Mensajes: 6
Antigüedad: 13 años, 7 meses
Puntos: 0
Enviar código html dentro de un input

Hola.
Tengo este problema
quiero enviar dentro del input esta etiqueta <iframe>

f.html

Código:
<html>
<head>
	<title>f</title>
</head>
<body>
	<form action="pf.php" method="post">
		<input type="text" name="txt">
		<input type="submit" value="enviar">
	</form>
</body>
</html>
pf.php

Código:
<?php 

	$txt=$_POST['txt'];
	echo $txt;

 ?>
al presionar en el botón enviar me lleva a la página principal en vez de procesar los archivos.

PD: esto es relacionado con http://www.forosdelweb.com/f18/guardar-codigo-iframe-base-datos-1146511
Muchas gracias.