i need an html code...

This is a discussion on "i need an html code..." within the Web Page Design section. This forum, and the thread "i need an html code... are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 30th, 2006, 23:23
New Member
Join Date: Jul 2006
Location: oklahoma
Age: 18
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
i need an html code...

i need an html code so that users on my website can fill out a form and it sends directly to my email address. thanks

Last edited by anderson10; Jul 30th, 2006 at 23:55.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 30th, 2006, 23:35
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i need an html code...

www.hotscripts.com for ready made scripts.
If you have trouble installing them, read the readme.

If you want to make your own then please learn php or asp depending on your host.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 31st, 2006, 03:35
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i need an html code...

As sypher says, you're looking at php or some kind of SSI (server side include). This means you run a script from your hosts server for this function. You can get ready-made scripts from the link sypher posted.
Make sure your host has SSI's or the form will not run.

You can also do a simple version using FrontPage but then you would need your host to have FrontPage extensions running.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 31st, 2006, 10:57
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: i need an html code...

Ah Mr. Anderson....lol Always wanted to say that....


Yeah, you want a PHP solution. Look in the PHP forums... there's loads there.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 31st, 2006, 11:51
New Member
Join Date: Jul 2006
Location: india
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i need an html code...

<?
if(isset($_POST[act]) && $_POST[act] == "yes")
{
$field1 = $_POST[field1];
$field2 = $_POST[field2];
$field3 = $_POST[field3];
$from = "Form address";
$subject = "Your subject here";
$to = "email address";
$body = "add mail contents here";
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$headers .= "From: $_SERVER[HTTP_HOST] <$from>\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
$headers .= "X-Mailer: PHP/" . phpversion()."\n";

if(mail($to, $subject, $body, $headers))
echo "mail sent";
else
echo "failure";

}
?>
<form name="form1" action="" method="post">
<input type="hidden" name="act" value="yes">
<table width="80%" border="0" cellspacing="2" cellpadding="1">
<tr>
<td width="36%">Field1</td>
<td width="64%"><input name="field1" type="text" id="field1"></td>
</tr>
<tr>
<td>Field2</td>
<td><input name="field2" type="text" id="field2"></td>
</tr>
<tr>
<td>Field3</td>
<td><input name="field3" type="text" id="field3"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>

</form>
quality support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 31st, 2006, 11:52
minute44's Avatar
Most Reputable Member

SuperMember
Join Date: Apr 2006
Location: Nottingham UK
Age: 25
Posts: 1,351
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: i need an html code...

Do that without the tables and you might be on to something there sparky...
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 31st, 2006, 11:54
New Member
Join Date: Jul 2006
Location: india
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i need an html code...

hope this helps
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jul 31st, 2006, 14:12
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: i need an html code...

http://www.alistapart.com/articles/sendtofriend/
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jul 31st, 2006, 14:13
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: i need an html code...

Bleh that one uses vbscript sorry about that.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
html, code

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[code], [html], [php] CloudedVision Webforumz Suggestions and Feedback 2 Feb 20th, 2008 23:01
HTML Code Help DregondRahl Web Page Design 4 Jul 11th, 2007 00:20
HTML Code - Help Please Anyone? nuddy Starting Out 14 Apr 24th, 2007 10:05
How I convert Html code to pDF vijiljones Web Page Design 2 Oct 11th, 2006 13:57
html code help Aaron1988 Web Page Design 3 Aug 22nd, 2006 09:52


All times are GMT. The time now is 01:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved