1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A Idea Is this Possible??

Discussion in 'PHP & Perl' started by dumdum4gumgum, Aug 14, 2009.

  1. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    Ok now this might sound stupid But hey ill ask anyways!!

    Do you think its possible to enter Info on one Page and having Hidden pages that auto fill the same info. Any codeing that would do this??

    Might be good for email submits with cpa :p Just a idea
     
  2. xrvel

    xrvel Registered Member

    Joined:
    Feb 4, 2009
    Messages:
    73
    Likes Received:
    15
    Gender:
    Male
    Home Page:
    What is CPA, sorry i am new :confused:

    However about the auto-fill-ing. If it just auto-fill a kind of form, maybe you can use curl to do this.
     
  3. orangejuice

    orangejuice Registered Member

    Joined:
    Jul 25, 2009
    Messages:
    54
    Likes Received:
    16
    No, it's called XSS (cross-site scripting) and browsers don't allow you to make such request across different domains for this reason (imagine you auto-save your gmail password, you could place an iframe to gmail.com, and if they have their password auto-saved, the browser will fill it. If you could then take it from that page, hell would break loose).
     
    • Thanks Thanks x 2
  4. dumdum4gumgum

    dumdum4gumgum Power Member

    Joined:
    Oct 16, 2008
    Messages:
    590
    Likes Received:
    343
    Occupation:
    cet, networking,grool,c++
    Location:
    In my world
    Home Page:
    Good Point Orangejuice never thought about this thanks
     
  5. monk13

    monk13 Power Member

    Joined:
    Jul 10, 2009
    Messages:
    547
    Likes Received:
    268
    yes, it is possible

    a few solutions are located
    javascript here
    Code:
    http://www.codingforums.com/archive/index.php/t-28833.html
    javascript and iframe trick here
    Code:
    http://www.webdeveloper.com/forum/showthread.php?t=100425
    i can't remember where i found the trick i found to solve this was
    but it was a for a different reason (filling out an email form, and adding the service to their cart in joomla virtuemart)

    the basic technique i used was, have the form they fill out populate info into a hidden div, that then populated the fields in the 2 iframed forms (both iframed with a size of 0px by 0px)
    the submit button was actually a javascript that populated the hidden div, and then submitted the contents into both forms and clicked
     
  6. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,461
    Likes Received:
    1,896
    Occupation:
    Unemployed Winner
    Location:
    TR
    To make people fill the email/zip is the easiest thing to do. But nobody pays you for just an email/zip submit. They are expecting some 2nd and also 3rd page submits. Therefore, your argument is invalid.