DarkSuperHero Posted January 10, 2009 Share Posted January 10, 2009 how would i go about targetting an iframe, to submit information that was filled in, outside of the iframe ? Link to comment https://forums.phpfreaks.com/topic/140226-target-iframe-_post-and-_get/ Share on other sites More sharing options...
bubbasheeko Posted January 10, 2009 Share Posted January 10, 2009 <iframe src="http://www.whateverthepage.com?option=" . <? echo $_POST['whatever']; ?> . ""> Then in the iframe use $_GET to grab the variable data for the iframe. I think I read somewhere that you should use $_REQUEST['whatever'], but I am not positive on that one. Link to comment https://forums.phpfreaks.com/topic/140226-target-iframe-_post-and-_get/#findComment-733801 Share on other sites More sharing options...
corbin Posted January 10, 2009 Share Posted January 10, 2009 <iframe name="someframe" src="http://somesite.com/"> <form action="/" target="someframe" method="POST"> <!--normal form stuff here--> </form> Link to comment https://forums.phpfreaks.com/topic/140226-target-iframe-_post-and-_get/#findComment-733824 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.