Forum Moderators: mack
How do you do it? I've read previous messages on this forum about server scripts, suggested tutorials etc. but its very difficult and not worth the effort for just a one page form.
Is there any place where I can get scripts to cut & paste?
I don't really want to learn sever script languages at this point. I just want something that works - cut and paste suggestions would be great.
Thanks,
Thanks for your feedback. As I read these pages I'm starting to understand more. Initially I used the form building tool of Dreamweaver to design the front end of the form - that is the actual form a visitor looks at. But from what I'm reading, it looks like you need to start with a web server that processes your forms, and you also need server-scripts (duh i think the whole world knew that).
Can you tell me more about web servers. Are they different from your normal hosting server or are they one and the same thing? What sites can you recommed for me to go for more info.
"normally"....
I've run into a few that have no idea that somebody would want a form on their website...go figure...
If the hosting has something setup already, all you need to do is inquire about where to point your form in order for it to work...
then you'd use something like this to accomplish your task within the page:
<form ACTION="http://www.domain.com/cgi-sys/FormMail.cgi" METHOD="post">
<input type="hidden" name="recipient" value="sombody@domain.com">
<input type="hidden" name="subject" value="Information Request From The Website">
<input type="hidden" name="redirect" value="http://www.domain.com/contact_thanks.htm">
I've had to setup from scratch the whole thing a few times...there are a few scripts available, but the code for the form is very similar to the above example..
that helps?
regarding the web server and the hosting server they are the same thing. As Terabytes said, some host already have their own formail scripts setup for you where you only have to enter predefined data in your <form> tag. Those who do usually also offer a tutorial of some sort to help you set your form up.
Finally if your host does not have a formmail ready, you should put the script in your cgi-bin folder - in any case ask for the help of your hosting provider they should be able to point you in the right direction.
Hope this helps