DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   dreamweaver hlp (http://www.daniweb.com/forums/thread79846.html)

sabin Jun 1st, 2007 5:31 pm
dreamweaver hlp
 
i was just wondering how do u make a form that when the person using it will hit submit and the info will be sent to my email or to me somehow

everytime i try it doesnt do nething, and i cant find a tutorial on this

i need to do this for a survey i will be making for my friends to take for my final exam that is in 2 weeks

smalldog Jun 2nd, 2007 5:02 am
Re: dreamweaver hlp
 
You must to use either server script languages such as ASP/PHP

here is a PHP example http://www.tutorialguide.net/php_con..._tutorial.html
here is a ASP example
http://www.tizag.com/aspTutorial/aspFormsEmail.php

or you can use just form with target mailto to force send the email in Outlook, but server side scripting is better.

<form enctype="text/plain" method="get" action="mailto:info@info.com">
To <input type="text" name="To"/> <br />
Subject <input type="text" name="Subject"/> <br />
Body <textarea name="Body" rows="5" cols="20" wrap="physical" >
</textarea>
<input type="submit" />
</form>

sabin Jun 5th, 2007 2:49 pm
Re: dreamweaver hlp
 
ok thx im going to use the .asp one but im curious because this tutorial does not exactly state were i should be making my email adress

would it be after the set mail = nothing?

HLA91 Jun 14th, 2007 5:25 pm
Re: dreamweaver hlp
 
I used the php code small dog linked too but it didn't work it said error on line 24 and I dont know php so I left it,

macneato Jun 18th, 2007 4:40 am
Re: dreamweaver hlp
 
easiest way would be the mailto: command. find it in behaviors i believe


All times are GMT -4. The time now is 3:31 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC