Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    106
    Tokens
    0

    Default Iframe to PHP Help

    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.

  2. #2
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by j2jcs View Post
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •