Click to See Complete Forum and Search --> : forms
djelal
04-24-2001, 05:04 PM
I've designed my site using dreamweaver4 and decided to use a simple form on my contacts page, just 3 boxes being senders email, name, and the comments box. I would like to know if there is anything i have to enter as code after just pressing insert text box button on the forms menu in dw4 and how to basically make it work. I'm using domaindlx as my host which supports asp, scripts etc etc if thats any help.
any help would be greatly appreciated!!
richardginn
04-24-2001, 06:55 PM
What you will need to do is find an asp 3.0 compatible email script.
You will need a button on the form that says send comment.
After clicking on the button it will run the asp script and send you an email.
------------------
www.geocities.com/richardginn/templatehtml (http://www.geocities.com/richardginn/templatehtml) -Come visit the Template HTML homepage
[This message has been edited by richardginn (edited April 24, 2001).]
Milkman
04-24-2001, 08:25 PM
don't forget to specify the form action to point to the cgi/asp or whatever script.
------------------
"There are two steps to success: 1. Never tell everything you know 2. See #1"
kid A
04-25-2001, 12:24 PM
If your host supports php, nothing is simpler than the formmail.php script. You can get it from the following url:
http://www.boaddrink.com
You will only have to change one thing, and that is the domain which is allowed to use the script ($referer) - you'll find it easily. Remember to set formmail.php as the form action in you html file.
------------------
Now listening to:
Mogwai - Rock Action
[This is an ad for] (http://www.ingulfsen.com)
[This message has been edited by kid A (edited April 25, 2001).]
djelal
04-25-2001, 12:50 PM
thanx.
do i have to include any extra code/script etc into the anything other then the submit buttun for eg the boxes in which you type or will it automatically include everything into the email after pressing submit?
thanx again.
djelal
04-25-2001, 01:01 PM
I just got formmail.php from boaddrink but I am still unsure on what to change within the file. What do i change $referer to and where do i put the email address to where the form info is to be sent?
djelal
04-25-2001, 02:14 PM
sorry for all this.....
after trying for over an hour to get the formmail.php to work I finally found out that my server dosent support php unless i pay them, and only has cgi support, anyone know how to get it working via cgi?
kid A
04-25-2001, 06:56 PM
Originally posted by djelal:
sorry for all this.....
after trying for over an hour to get the formmail.php to work I finally found out that my server dosent support php unless i pay them, and only has cgi support, anyone know how to get it working via cgi?
Formmail.pl is a CGI script that does the exact same thing. You can get it from Matts Script Archive. I think it goes under http://cgi.resourceindex.com or http://matt.resourceindex.com - you find it easily though. It is actually the script upon which the formmail.php is based.
You form should look something like this:
<form method=post action=cgi-bin/formmail.pl>
<input type=hidden name=recipient value=your@email.com>
<input type=text name=whatever size=40>
</form>
Of course you may add to it as you wish. The directions are all there in the formmail package http://www.sharkyforums.com/ubb/wink.gif
------------------
Now listening to:
Mogwai - Rock Action
[This is an ad for] (http://www.ingulfsen.com)
djelal
04-26-2001, 04:15 PM
cheers....appreciated.