1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Creating a submit too?

Discussion in 'Web Design & Development' started by HandleX, Jul 31, 2006.

Thread Status:
Not open for further replies.
Advertisement
  1. HandleX

    HandleX Thread Starter

    Joined:
    Mar 18, 2006
    Messages:
    388
    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.
     
  2. dizzle_deasy

    dizzle_deasy

    Joined:
    Jul 28, 2006
    Messages:
    90
    Do you have any server side technology?
     
  3. Chroder

    Chroder

    Joined:
    Oct 18, 2004
    Messages:
    7
    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.
     
  4. thecoalman

    thecoalman

    Joined:
    Mar 6, 2006
    Messages:
    2,491
    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 [email protected] 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-development/487682-solved-please-help-form-script.html
     
  5. redivivus

    redivivus

    Joined:
    Mar 30, 2006
    Messages:
    1,458
    You can also do it through a script hosted for free on another site. :eek:

    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/
     
  6. covert215

    covert215 Banned

    Joined:
    Apr 22, 2006
    Messages:
    2,595
    "mailto:" only works if the user has Outlook configured
     
  7. thecoalman

    thecoalman

    Joined:
    Mar 6, 2006
    Messages:
    2,491
    The mailto link will open up whatever the user has selected as their default e-mail program. It's not a outlook only link.
     
  8. covert215

    covert215 Banned

    Joined:
    Apr 22, 2006
    Messages:
    2,595
    But it still requires a program to be configured. Most people use the web to view their emails.
     
  9. dizzle_deasy

    dizzle_deasy

    Joined:
    Jul 28, 2006
    Messages:
    90
    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.
     
  10. covert215

    covert215 Banned

    Joined:
    Apr 22, 2006
    Messages:
    2,595
    That is another easy option...once you understand php and a tad of MySQL
     
  11. thecoalman

    thecoalman

    Joined:
    Mar 6, 2006
    Messages:
    2,491
    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.
     
  12. HandleX

    HandleX Thread Starter

    Joined:
    Mar 18, 2006
    Messages:
    388
    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?
     
  13. dizzle_deasy

    dizzle_deasy

    Joined:
    Jul 28, 2006
    Messages:
    90
    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.
     
  14. Sponsor

As Seen On
As Seen On...

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.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/488175