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> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.