Is there a program that exist with this functionality?

6 replies
Greetings Warriors!

We have 15 lead generation sites and 1 main site.

I just want to ask if you know of a particular program wherein if someone will fill-out any of the 15 lead generation sites' contact form, the details will be sent and displayed on our main site?

Your inputs will be very much appreciated.

Cheers,
G.B.
#exist #functionality #program
  • Profile picture of the author jaggyjay
    This kind of reminds me of co-registration; but without the display part. Anyway, dunno if one exists already, but it can be done with some mysql, php, and javascript.
    {{ DiscussionBoard.errors[7409792].message }}
  • Profile picture of the author Brandon Tanner
    All you have to do is set the "form action" of each of the 15 lead sites to the main site. For example...

    <form action="http://www.MainSite.com/index.php" method="POST">
    <input type="text" name="name" />Name<br />
    <input type="text" name="email" />Email<br />
    <input type="submit" name="submit" value="submit" />
    </form>


    Then on your main site (index.php), you store the data into variables....

    <?php
    $name = $_POST['name'];
    $email = $_POST['email'];
    ?>


    Then you can display that data anywhere on the page by 'echoing' the variables (ie <?php echo $name; ?>). Or you can store the data in a database, or have it emailed to you, or whatever.

    Also, I would strongly recommend that the very first thing that the code on your main site does is validate that the data it accepts is in the correct format (names and emails), otherwise you will leave yourself open to potential cross-site scripting attacks. Do a Google search for "PHP form validation" for more info about that.
    Signature

    {{ DiscussionBoard.errors[7409828].message }}
    • Profile picture of the author hgustavs
      Thank you for this very useful post. I´ll keep it in mind for my future sites.
      {{ DiscussionBoard.errors[7418668].message }}
  • Profile picture of the author jaggyjay
    @Brandon - nice, elegant solution. I was going a totally different (and unnecessary) way with this
    {{ DiscussionBoard.errors[7412150].message }}
  • Profile picture of the author Go4DBest
    Thanks for the inputs Warriors. I'll try what you have suggested.

    Who knows there's a plugin with this functionality.
    Signature
    We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
    {{ DiscussionBoard.errors[7417088].message }}
  • Profile picture of the author Azu Ifeachor
    Hi,

    Im not sure that is such a good idea. Imagine, your customer posts something on one site, wanting some info, then all of a sudden their data is appearing on a totally different site!

    You should check to see if you are breaking any data protection laws as you should not be displaying peoples information on a site without first telling the person that is what will happen.

    I don't know the full details of what you are trying to do, but I would be very careful if I were you. It could be a very costly mistake if you are not legally allowed to do what you are proposing.
    Signature
    Practical Offline Profit System - How to Make £3k in under 30 days
    OnizuMarketing.com - Looking to get more customers & more sales? We can help!!
    {{ DiscussionBoard.errors[7418263].message }}

Trending Topics