I am working on a project that requires sending a PHP variable value generated from a web page that is displayed in another page using an iframe, to the other page. From the other page, I want to POST the received value to a third page for processing (by PHP).
I want to use window.postMessage to send the data from the web page to the other page.
I am using IE 9.
I've uploaded 2 HTML pages. The first is index.html. This is what I refer to as the "other page" above. The second page is iframe-content.html. This is what I refer to above as the "web page". So, I want to send a PHP value from iframe-content.html to index.html.
Once in inde.html, the value has to be POSTed to a third page.
FYI, for the TargetOrigin, I am using the domain: magweb.mfs.local, which goes to a Linux box on our office network, running Apache, PHP, MySQL.
Thanks very much.