Jump to content

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?
Link to comment
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.