Front end for another form

Discussion in 'Web Design and Development' started by Aperture, Mar 18, 2009.

  1. Aperture macrumors 68000


    Mar 19, 2006
    Is it possible to build a new front end for a form located somewhere else on the web, on my own website? For example, let's say there is a form to get's monthly newsletter on Would I be able to write a PHP script to take the user's information on my site, and have the PHP script fill out the real form on If so, could I then have the PHP script return the information shown on (like "You will now receive our monthly newsletter"). I know this is probably a long shot but any help is appreciated.

  2. angelwatt Moderator emeritus


    Aug 16, 2005
    Potentially. It really depends on how their script is written and what it checks.
    • If they check the referrer information and see it doesn't come from their own web site, then it could be rejected.
    • Also, if they use CAPTCHA, you would be out of luck.
    • For my contact form as part of my spam prevention, the form element names are randomly chosen on each load so you wouldn't be able to remotely submit things to my form.
    • And yet another thing would be if they use sessions or cookies it could cause problems.
    There's other things that could interfere as well, so essentially you'll need to know the source code for the form you want to interact with.

Share This Page