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

whaatup's Avatar, Join Date: Jul 2010
Light Poster
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
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
It is likely that the content is sent to volunteer.php
0
whaatup's Avatar, Join Date: Jul 2010
Light Poster
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
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have to create a second file where you retrieve the sent information and do what you feel like
0
whaatup's Avatar, Join Date: Jul 2010
Light Poster
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?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.
0
whaatup's Avatar, Join Date: Jul 2010
Light Poster
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
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.
0
whaatup's Avatar, Join Date: Jul 2010
Light Poster
what is it you recommend that I should do?
0
ManzZup's Avatar, Join Date: May 2009
Skilled contributor
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