SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Mar 2011
    Location
    Manchester, UK
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Grab Source/Data From Iframe

    Hi Guys,

    On my PHP page im loading an iframe from another domain. Now the content of the iframe has no HTML, it just has text. For example it would says "Added To Database".

    I need some way of pulling that information from the iframe, is there anyway of doing this, if not in Javascript then in what way can this be done? Perl? PHP?

    Any help would be great.

    Thank you.
    You're Help Does Not Go Unnoticed, I have So Far Donated 25 GBP
    To Cancer Research UK As A Thank You To All The SitePoint
    Members That Have Helped Me In The PHP Forum Thank You!

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Cross domain <iframe> manipulation isn't possible because of security reasons but with PHP it's 100% possible, you have asked this in the PHP forum so i will continue to answer your question there and ask a moderator to merge/delete this thread.
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle


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
  •