Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Web Design & Development Web Design & Development
Search Search
Search for:
Tech Support Guy > > >

Creating a submit too?


(!)

HandleX's Avatar
HandleX HandleX is offline
Senior Member with 388 posts.
THREAD STARTER
 
Join Date: Mar 2006
31-Jul-2006, 03:31 PM #1
Creating a submit too?
I am trying to make a page on my website that will allow a person to put in their e-mail address, if they would like me to send them updated newsletters.

Ideally, i would like them to enter their email address and then click a submit button. This action would send the email address to me via my email address. I would get it, then add it to our mailing list.

Is there any easy way of doing this? I am thinking it can not be HTML so .... lay her on me.

Thanks a lot.
dizzle_deasy's Avatar
dizzle_deasy dizzle_deasy is offline
Member with 90 posts.
 
Join Date: Jul 2006
Experience: Web Dev, Network IT, Comp Builder, Application Dev
31-Jul-2006, 04:33 PM #2
Do you have any server side technology?
Chroder's Avatar
Chroder Chroder is offline
Junior Member with 7 posts.
 
Join Date: Oct 2004
Location: Toronto, Ontario
Experience: Intermediate
31-Jul-2006, 06:40 PM #3
You can do it with HTML, but ultimately it'll just be like a normal mailto: link (thus the user will be using their email client to send the message, which might not even be set up).

So using a technology like PHP will be your best bet. There are many pre-made mailing list scripts available for free on sites like HotScripts.com that you might want to look into. Otherwise, it is fairly simple to just send an email with the address.
thecoalman's Avatar
Member with 2,491 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
01-Aug-2006, 05:08 AM #4
Look to see if your host supports e-mail lists. The basic idea is they can self subscribe or unsubcribe to it themselves to it by sending an email to yourlist-request@yourdomain.com with subject subscribe.

You would only have to crete a mailto link.... You create a moderator for the list which allows you too send an email to everyone on the list by emailing the newsletter to the list.

May sound a little complicated but it's quite easy to set up, at least on my server it is.

Edit: To do it where they insert a email address ionto a form see here: http://forums.techguy.org/web-develo...rm-script.html

Last edited by thecoalman; 01-Aug-2006 at 05:18 AM..
redivivus's Avatar
Member with 1,458 posts.
 
Join Date: Mar 2006
Experience: 8th hindu reincarnation -- Praise Allah
01-Aug-2006, 05:26 AM #5
You can also do it through a script hosted for free on another site.

Ive tried response-o-matic, and it works fine. Basically when they submit a form, it sends it to response-o-matic. The form contains your email and other values as hidden inputs . Response-o-matic then emails you automatically.

Never use mailto.

The problem with response-o-matic is that once they click submit, it redirects them to their page!

What i did was created the form in a seperate window, and then had that window redirect back as soon as it redirected away, so the user would just see the page refresh. :P

http://www.response-o-matic.com/
covert215's Avatar
Account Disabled with 2,595 posts.
 
Join Date: Apr 2006
Experience: Web Designer
01-Aug-2006, 06:36 AM #6
"mailto:" only works if the user has Outlook configured
thecoalman's Avatar
Member with 2,491 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
01-Aug-2006, 07:03 AM #7
Quote:
Originally Posted by covert215
"mailto:" only works if the user has Outlook configured
The mailto link will open up whatever the user has selected as their default e-mail program. It's not a outlook only link.
covert215's Avatar
Account Disabled with 2,595 posts.
 
Join Date: Apr 2006
Experience: Web Designer
01-Aug-2006, 09:27 AM #8
But it still requires a program to be configured. Most people use the web to view their emails.
dizzle_deasy's Avatar
dizzle_deasy dizzle_deasy is offline
Member with 90 posts.
 
Join Date: Jul 2006
Experience: Web Dev, Network IT, Comp Builder, Application Dev
01-Aug-2006, 09:32 AM #9
Quote:
Originally Posted by redivivus
You can also do it through a script hosted for free on another site.

Ive tried response-o-matic, and it works fine. Basically when they submit a form, it sends it to response-o-matic. The form contains your email and other values as hidden inputs . Response-o-matic then emails you automatically.

Never use mailto.

The problem with response-o-matic is that once they click submit, it redirects them to their page!

What i did was created the form in a seperate window, and then had that window redirect back as soon as it redirected away, so the user would just see the page refresh. :P

http://www.response-o-matic.com/
Or you could be smart and just write your own script and not have to worry about what the other site wants to do. Writing your own script will allow you to have full control over what happens when the user subscribes. You can also find such a script for free at phpclasses.org. You have to subscribe to the site but you get so much out of it. And if you write scripts you can post them so that others can use them as well. We call this sharing. If you don't know how to write a PHP script go to www.w3schools.com and learn. It is very easy. then you can read the script that you get from phpclasses.org and figure out how it works.
covert215's Avatar
Account Disabled with 2,595 posts.
 
Join Date: Apr 2006
Experience: Web Designer
01-Aug-2006, 09:33 AM #10
That is another easy option...once you understand php and a tad of MySQL
thecoalman's Avatar
Member with 2,491 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
01-Aug-2006, 09:49 AM #11
Quote:
Originally Posted by covert215
But it still requires a program to be configured. Most people use the web to view their emails.
True that could be a problem but you could just supply directions for people using web based email clients. BTW I just saw redivivus's comment about mailto, mailto shouldn't be used in a form as the action as the user gets a nasty warning.... The mailing lists I mentioned are different.
HandleX's Avatar
HandleX HandleX is offline
Senior Member with 388 posts.
THREAD STARTER
 
Join Date: Mar 2006
01-Aug-2006, 06:10 PM #12
hmm i may go through HTML but im doubtful.

Does anyone know where i could score cgi-bin directories for IIS or even php scripting capabilities for IIS?
dizzle_deasy's Avatar
dizzle_deasy dizzle_deasy is offline
Member with 90 posts.
 
Join Date: Jul 2006
Experience: Web Dev, Network IT, Comp Builder, Application Dev
03-Aug-2006, 10:01 AM #13
You could get php from php.net and get apache and run it on windows. if you want I can send you the install files for apache and PHP that I use on windows. The install package has pretty good instructions on how to install and configure apache and PHP on windows. you could also get a free webhosting account at http://tripod.lycos.co.uk/ which runs PHP under apache. From there it should be pretty easy to learn.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑