budweiser7
asked on
Submit a form
Hello, I made a form for my web site. I can't seen to figure out to accually make it work. When I click submit I want the form to be emailed to an email address that I specify and after submitting be directed to a page that I specify. If anyone can help me out that would be great.
Well there are a number of ways for doing this.
The best way is by submitting the form to a script on the server that generates an email containing the submitted data, sends it to the appropriate email address and then displays a "thank you" page to the user.
The reason this is considered the best way is because you do not have to rely at all on the what kind of computer/setup the user has - everything is done from the webserver.
You can do it from the user's machine using "mailto" but it is VERY problematic and you cannot be guaranteed that you will receive the email.
Where are you hosting your web site? A free web space provider?
Don't worry, having such a script doesn't have to cost you anything - tell us a little bit more info and we can help you further.
:o)
Ant
The best way is by submitting the form to a script on the server that generates an email containing the submitted data, sends it to the appropriate email address and then displays a "thank you" page to the user.
The reason this is considered the best way is because you do not have to rely at all on the what kind of computer/setup the user has - everything is done from the webserver.
You can do it from the user's machine using "mailto" but it is VERY problematic and you cannot be guaranteed that you will receive the email.
Where are you hosting your web site? A free web space provider?
Don't worry, having such a script doesn't have to cost you anything - tell us a little bit more info and we can help you further.
:o)
Ant
ASKER
I have a site register threw Yahoo Domains
You mean Yahoo Geocities?
If so then they have just the thing you need!
http://us.geocities.yahoo.com/v/ao/for.html
:o)
Ant
If so then they have just the thing you need!
http://us.geocities.yahoo.com/v/ao/for.html
:o)
Ant
ASKER
No I mean Yahoo Domains, I paid for it.
Okay, but that doesn't give you web space - that's just the domain name. You need to have somewhere to place your web site - have you organised that yet?
:o)
Ant
:o)
Ant
ASKER
Yes I do the give me space. The site is there and paid for because I registered a name.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hey, thanks for the help. I really like doing this stuff I think I need to take some classes or something.
Glad I could help.
Thanks for the A!
:o)
Ant
Thanks for the A!
:o)
Ant
<form action="mailto:info@yourdo
unfortunately this will not pass you to another page. You can use Javascript to accomplish this:
<form action="mailto:info@yourdo
This will change the URL after the submission to "test.htm"
I would not recommend to use this method. If you have a chance to use server side scripting like perl, PHP or ASP, I would suggest you use a script for sending the mail.
Marian