Jump to content


This topic is now archived and is closed to further replies.


PHP Form Processor in iFrame?

Recommended Posts

How would I include a form processor in an iframe on an html page so that the form action would be "page.php" and "page.php" is in an iframe on "page2.html"?

And if that was too confusing:

page.htm is the page with the form
page.php is the processor
page2.htm is another page that contains the form processor in an iframe

How would I code that?

Share this post

Link to post
Share on other sites
you would have to make page2 a php file so it could do something with the variables posted/got from the form previously.  Then have the source of teh iframe set to page.php?var1=x&var2=y
you would generate the strings through php for teh url....

hope that helps

but the real question is why the hell would you want to.

(Some may tell that I have frames/iframes with a passion

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.