Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit buttons...

Status
Not open for further replies.

maxbennett

Technical User
Joined
Sep 24, 2005
Messages
1
Location
CA
I have a website that gets updated often, so I decided that I'd add a subscription thing (I'll email everyone when I update the website). The only way I knew how to do it was by saying on the homepage "To subscribe to my website, email me saying you'd like to do so...".

What I want is a text box where the viewer would type their email address, and then a submit button that emails me the email address the viewer typed in. I've tried to add a form with some stuff but I haven't got a clue what to do. Any help?
 
This message may be late, but I cna offer a little help. You are going to need to set the <form></form> around a text input box as well as a submit button. After doing that you will need to set the "value(s)" of the form, which can be hidden, and set up the submit button to go to a cgi bin. This by no means is a complete explination, but it is a start. Hope this helps
 
What needs to happen is that when someone clicks "Submit" the form information is sent to a program on the server that processing the information in some way and returns a new page to the user. In you case "processing the information in some way" would be to check that the information is a valid email address and then email it to you.

Considering your asking this question i bet you don't know how to make a server side program that can do that, so i'll point you to my favorite:
There are two version of this script, you only need the free version, but if you want the bells and whistles go ahead and buy the other one.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top