提交的信息发送到哪里?如何更改它以将其发送到电子邮件? [英] Where is submitted info sent to? How can I change it to get it sent to email?

查看:67
本文介绍了提交的信息发送到哪里?如何更改它以将其发送到电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户输入信息并点击提交"时,他们的信息将发送到哪里?

When users enter their info and hit "submit", where is their information sent to?

<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?





Thanks

推荐答案

没有用.该页面已发布,您需要进行处理.这是基本的Web开发内容.让我们知道您何时需要特定的帮助.
It goes no where. The page gets posted and you need to handle it. This is basic web development stuff. Let us know when you need specific help.


提交页面时,在按钮提交单击事件中,获取所有想要的数据并将其作为消息发布在电子邮件中. br/>
要在.NET中发送电子邮件,请在此处查看:
在ASP.NET 2.0中发送电子邮件 [
When you submit your page, in your button submit click event, get all the data you want and post it as a message in the Email.

To send email in .NET, have a look here:
Sending Email in ASP.NET 2.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


这篇关于提交的信息发送到哪里?如何更改它以将其发送到电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆