Results 1 to 4 of 4

Thread: Random iframe content

  1. #1
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random iframe content

    script: Random iframe content
    http://www.dynamicdrive.com/dynamici...ndomiframe.htm

    I've entered this script and when I view the page with IE 6+ I get the following results displaying in the i-frame:

    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Courier New;}{\f1\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 \par \par \par \par \par \par \par 'I just had to share this with you... I had the Site of the Day on 7/26 and I had the most AMAZING results... 4 signups to my paid program. Unheard of! \par Now that MAV is in full-launch, I will *definitely* be putting in regular bids for the SOTD.'\par

    \par Sabra Bryant\par \par
    \par \par \par \par \f1\par }

    I searched the FAQs and here and didn't find anything like this.

    Does anyone have any idea what I am doing wrong?

    Thanks,

    Michael

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Just a guess, but I'd say the character encoding is wrong.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm sorry... character encoding?

    How would I fix that?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Get your server to send a Content-Type header that matches the one used by the page in the iframe.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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