![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How can I create a link to another page once a person has clicked on the send button. I want to have a thank you page so that they know that their |
|
Thanks Please give in basic Dreamweaver MX language (no HTML code please - still learning the basics here) |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
How can I create a link to another page once a person has clicked on the send button. I want to have a thank you page so that they know that their |
|
Thanks Please give in basic Dreamweaver MX language (no HTML code please - still learning the basics here) |
#5
| |||
| |||
|
|
How can I create a link to another page once a person has clicked on the send button. I want to have a thank you page so that they know that their |
|
Thanks Please give in basic Dreamweaver MX language (no HTML code please - still learning the basics here) |
#6
| |||
| |||
|
|
How can I create a link to another page once a person has clicked on the send button. I want to have a thank you page so that they know that their form went through rather than having the same page sit there and they are unsure what has happened. Thanks Please give in basic Dreamweaver MX language (no HTML code please - still learning the basics here) |
#7
| |||
| |||
|
|
If you are using a cgi script try this enter the following code at the top of the form, the ACTION bit needs to point to your cgi script FORM METHOD="post" ACTION="http://www.yoursite.com/cgi-bin/mailto.cgi" input type=hidden name="recipient" value=youremailaddress (AT) yourhost (DOT) com input type=hidden name="subject" value="contact me" input type=hidden name="redirect"value="http://www.yoursite.com/thankyou.htm" then create a page with a message on saying thank you etc and save it as thankyou.htm When a visitor fills in the form the bottom line above will redirect to the thankyou.htm page If you dont have a mailto.cgi script contact me and I will send you one Regards Edward eddiej (AT) dsl (DOT) pipex.com The problem with this method is that you are leaving your email |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
I'm using a basic cgi script with Dreamweaver MX |
#10
| |||
| |||
|
|
On Sat, 1 Nov 2003 11:55:32 -0000, "eddie" <xcb70 (AT) dial (DOT) pipex.com wrote: If you are using a cgi script try this enter the following code at the top of the form, the ACTION bit needs to point to your cgi script FORM METHOD="post" ACTION="http://www.yoursite.com/cgi-bin/mailto.cgi" input type=hidden name="recipient" value=youremailaddress (AT) yourhost (DOT) com input type=hidden name="subject" value="contact me" input type=hidden name="redirect"value="http://www.yoursite.com/thankyou.htm" then create a page with a message on saying thank you etc and save it as thankyou.htm When a visitor fills in the form the bottom line above will redirect to the thankyou.htm page If you dont have a mailto.cgi script contact me and I will send you one Regards Edward eddiej (AT) dsl (DOT) pipex.com The problem with this method is that you are leaving your email address in the source code, inside the recipient hidden field. It would be far better to use a script that stores the email address only on the server. I did a hack on the formmail.php script, so that it only stores addresses server-side. It's far safer. Otherwise spam harvesting programs will cream off your address, and send you all sorts of rubbish. Paul Taylor |
![]() |
| Thread Tools | |
| Display Modes | |
| |