Log in

View Full Version : Iframe to PHP Help



j2jcs
01-09-2008, 06:35 PM
Hi there,

I am currently beginning to make myself a basic WYSIWYG editor, and I need a bit of assistance.

I need to know how to get the contents of an iframe into a PHP variable.

For e.g like you use $_POST['inputname']; to get the contents of an input field in a form, how can I get the contents from an iframe instead.
This is when designmode is switched on in javascript for the iframe, so you can type text into it, not just a general average iframe.

All assistance/knowledge on this is much appreciated. :)

Calon
01-09-2008, 09:15 PM
Hi there,

I am currently beginning to make myself a basic WYSIWYG editor, and I need a bit of assistance.

I need to know how to get the contents of an iframe into a PHP variable.

For e.g like you use $_POST['inputname']; to get the contents of an input field in a form, how can I get the contents from an iframe instead.
This is when designmode is switched on in javascript for the iframe, so you can type text into it, not just a general average iframe.

All assistance/knowledge on this is much appreciated. :)
Basically you want the page into a variable...

Want to hide these adverts? Register an account for free!