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

Light Poster
31Jul2010,07:08   #1
whaatup's Avatar
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
Go4Expert Founder
31Jul2010,09:09   #2
shabbir's Avatar
It is likely that the content is sent to volunteer.php
Light Poster
31Jul2010,11:54   #3
whaatup's Avatar
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
Go4Expert Founder
31Jul2010,11:57   #4
shabbir's Avatar
You have to create a second file where you retrieve the sent information and do what you feel like
Light Poster
31Jul2010,12:00   #5
whaatup's Avatar
Quote:
Originally Posted by shabbir View Post
You have to create a second file where you retrieve the sent information and do what you feel like
I can't code, can you point me in the right direction to create this file please?
Go4Expert Founder
31Jul2010,19:23   #6
shabbir's Avatar
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.
Light Poster
1Aug2010,01:16   #7
whaatup's Avatar
Quote:
Originally Posted by shabbir View Post
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.
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
Go4Expert Founder
1Aug2010,08:33   #8
shabbir's Avatar
Quote:
Originally Posted by whaatup View Post
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
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.
Light Poster
1Aug2010,08:38   #9
whaatup's Avatar
what is it you recommend that I should do?
Skilled contributor
7Aug2010,09:59   #10
ManzZup's Avatar
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

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