www.webdeveloper.com
Results 1 to 4 of 4

Thread: Remote Form Fill using Iframe/Javascript ?

  1. #1
    Join Date
    Jan 2009
    Posts
    15

    Exclamation Remote Form Fill using Iframe/Javascript ?

    Hello
    I am having a form and a iframe in my website.
    Inside the iframe I am loading the a external website(not in my server).
    I am trying to submit the details submitted in
    my main website to the remote website inside the iframe.
    I am doing this so that I can keep a copy of
    the data submitted myself and at the same time
    submit the data also to the remote site.
    Is this possible ?
    I have a script that works
    if the page inside the iframe is also resides in the same website as mine.

  2. #2
    Join Date
    Jun 2004
    Posts
    316
    Put the file that accesses the other website (using JScript) on your computer and access that file locally. That should work because JavaScript is forbidden to work across websites (for security reasons, passwords, etc.) but if the file is on your machine, it should be able to access ANY site using javascript.
    Windows XP Professional
    256MB RDRAM (damn expensive)
    120GB HD, 2.56GHz P4 Processor
    Only 64MB GeForce4 Vid Card /w TV-Out
    Wish I had money to buy more RAM lmao

  3. #3
    Join Date
    Jan 2009
    Posts
    15
    so by including the other site to my site..will the data be sent to the
    remote site ??
    And If so what IP will be recorded in the remote site ?

    Put the file that accesses the other website (using JScript) on your computer and access that file locally
    How to do this ?
    Last edited by auto_web; 01-12-2009 at 04:32 AM.

  4. #4
    Join Date
    Jun 2004
    Posts
    316
    I'm telling you to run the file directly from your computer. If it is run from your computer, it will be allowed to use JavaScript on any site. If it is run from a website, the JavaScript is limited to that site.
    Windows XP Professional
    256MB RDRAM (damn expensive)
    120GB HD, 2.56GHz P4 Processor
    Only 64MB GeForce4 Vid Card /w TV-Out
    Wish I had money to buy more RAM lmao

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles