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

Where is the submitted info sent? How can I send it to email?

Discussion in 'Web Design, HTML And CSS' started by whaatup, Jul 31, 2010.

  1. whaatup

    whaatup New Member

    Joined:
    Jul 31, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    When users enter their info and hit "submit", where is their information sent to?

    Code:
    <html>
    </script>
    <div align="center" style="text-indent: 0pt;"><img src="/page/-/files/header_form_title.jpg" border="0"></div>
    <form action="volunteer.php" method="post" onSubmit="return checkform();" style="position:relative;">
    <input class="header_input_fname" style="position:absolute; top:0; left:0;" name="firstname" id="fname" value="First Name"
    onclick="if(this.value=='First Name'){this.value='';}">
    <input class="header_input_lname" style="position:absolute; top:0; left:112px;" name="lastname" id="lname" value="Last
    Name" onclick="if(this.value=='Last Name'){this.value='';}">
    <input class="header_input_email" style="position:absolute; top:24px; left:0;" name="email" id="email" value="E-Mail"
    onclick="if(this.value=='E-Mail'){this.value='';}">
    <input class="header_input_zip" style="position:absolute; top:53px; left:0;" name="zip" id="zip" value="ZIP Code"
    onclick="if(this.value=='ZIP Code'){this.value='';}">
    <input type="image" src="/page/-/files/btn_signup.png" style="position:absolute; top:53px; left:110px;"
    class="header_input_button"><br>
    </form></div></div>
    <div id="nav" style="background-image:url
    (/page/smartproxy/BSD_EQROVgIKSFYJRlVGRQRHBAdQV1tAVgkdAVZf/FQRRUA/SA/AwxaUBA/CwRAVwIWOVYCHUBbVg);"><script
    language="javascript">

    How can I use this code to have it sent to an email?


    Thank you
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    It is likely that the content is sent to volunteer.php
     
  3. whaatup

    whaatup New Member

    Joined:
    Jul 31, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I took this code from a website because I wanted something just like this on a page on my website. I would like to know how to have all the submitted info sent to an email, or somewhere that it can be logged and saved, like a database maybe?


    Thanks
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    You have to create a second file where you retrieve the sent information and do what you feel like
     
  5. whaatup

    whaatup New Member

    Joined:
    Jul 31, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I can't code, can you point me in the right direction to create this file please?
     
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    The exact file of your choice with the content may not be the one present on internet and unless you cannot code that you need to get people to get it coded for you.
     
  7. whaatup

    whaatup New Member

    Joined:
    Jul 31, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    So with this second file, I can determine that the data submitted could be sent to an email or stored in a database?

    Is it possible that someone here could please help me out by coding me such a page? I would really appreciate it.


    thanks
     
  8. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    Not a big deal and is hardly few lines of code but how do you plan to run it. Just having the content will not help and you will need to host the same as well.
     
  9. whaatup

    whaatup New Member

    Joined:
    Jul 31, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    what is it you recommend that I should do?
     
  10. ManzZup

    ManzZup New Member

    Joined:
    May 9, 2009
    Messages:
    278
    Likes Received:
    43
    Trophy Points:
    0
    Occupation:
    Production Manager:Software @ ZONTEK
    Location:
    Sri Lanka
    Home Page:
    the most easiest way is to check weather your host supports php,

    if so you have several options:

    1) Sending an e-mail to a predefined address (needs the host to make the mail() function activated)
    2) Logging to a plain text file
    3) Logging to a database

    option 3) is most commonly used but if you are just trying to get the ones who visited your website opt. (2) is perfectly OK
    opt. 1) is hardly used nowadays :D

    if you need help in making any of this please post here i will post the necessary script
     

Share This Page