-I have copied the code from a website that shows u how to make a contact form. Can you show me where I put my email address, so that the emails are sent to me. I cant find where in the code I should put my email address, thanks
<form id ="contactform" name="htmlform" method="post" action="html_form_send.php">
<table width="450px">
</tr>
<tr>
<td valign="top">
<label for="first_name">First Name *</label>
</td>
<td valign="top">
<input type="text" name="first_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top"">
<label for="last_name">Last Name *</label>
</td> <td valign="top">
<input type="text" name="last_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="email">Email Address *</label>
</td>
<td valign="top">
<input type="text" name="email" maxlength="80" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="comments">Comments *</label>
</td>
<td valign="top">
<textarea name="comments" maxlength="1000" cols="25" rows="6">
</textarea>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center">
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>Your current hosting package or service MUST allow SMTP ( http://en.wikipedia.org/wiki/Simple_Mail鈥?/a> ) to work. Otherwise, no email can be sent.
PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/send_em鈥?/a>
Use any of the below sites to make the workable form you need:
These are really good online form makers. Just follow the instructions for making it and uploading file(s).
How to Make a Slick Ajax Contact Form with jQuery and PHP: http://www.elated.com/articles/slick-aja鈥?/a>
Contact Form Generator: http://www.tele-pro.co.uk/scripts/contac鈥?/a>
WYSIWYG Form Maker: http://www.jotform.com/?gclid=CNKhqei1wJ鈥?/a>
http://www.thesitewizard.com/wizards/fee鈥?/a>
http://www.form2email.net/
http://www.phpform.org/
http://www.thepcmanwebsite.com/form_mail鈥?/a>
http://emailmeform.com/
More...Hi, I can send you a simple contact form along with the script.
You can edit the From and add your email address in the script.
It is good because it sends the information from the form straight to your email address. No redirects to email accounts.
you don't. This is only an email form. It can not send an email. you need to write the php script in the html_email_send.php file to read this data in and send the email. you include the to address in that page as a variable.
This is only html template of the form. If you want it sending to you emails you need add relevant functionality to it. If you know php that wouldn't be hard for you. In other case you can use php forms http://phpforms.net/
没有评论:
发表评论