|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
Using submit button in Dreamweaver
I'm designing a page in Dreamweaver 8 where users can enter their email address in a form text field and in that same form is the submit button that I want them to be able to click and send an email to subscribe to a Yahoo! group specifically designed for sending them monthly newsletters.
My question is how do I code this button or form to do such? |
|
|
|
|
|
#2 |
|
Member (7 bit)
Join Date: Dec 2005
Posts: 87
|
Have the form point to a php file, and then you can code the php.
In short it would be: $email=$_POST['form name you used for email address']; mail($email, subject,body); |
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Unless you really know what you are doing, I would probably download a canned email script and use or alter it. The reason is that form email scripts have replaced open relays as the number one way that spammers send out email. They test sites for vulnerable scripts and if found use them to send out thousands of messages.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|