DarkPrince2005 Posted January 12, 2010 Share Posted January 12, 2010 I'm trying to post from a form to a form within an iframe. It works without the iframe, but nothing happens when the iframe is included. <form target="iframe" method="post" action="2.php"> <input type="text" name="uid" /><br /> <input type="text" name="pwd" /> <input type="submit" name="Login" value="Login"/> </form> <iframe src="http://dansa.org/member/welcome.php" id="iframe" name="iframe" width="100%" height="300">Your browser does not support iframes. </iframe><pre><?php var_dump($_POST); ?></pre> Link to comment https://forums.phpfreaks.com/topic/188181-posting-to-an-iframe/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.