How difficult is this? HTML question

Discussion in 'Archived Threads 2001-2004' started by Michael*K, Oct 3, 2001.

  1. Michael*K

    Michael*K Screenwriter

    Joined:
    May 24, 2001
    Messages:
    1,815
    Likes Received:
    0
    First let me say I am no HTML whiz. I usually use an HTML editor to lay out web pages, but I have enough knowledge to go in and tweak some of the code if things are amiss. I DO NOT however, have any knowledge of Javascript. So here's the deal. I am trying to work with some former classmates to set up a web page for former alumni to submit information on their current whereabouts, careers, etc. Ideally, I'd like to have a single web page with text fields where people could enter info (graduation year, current home, etc) and click a submit button. The information could then be e-mailed to an address we would set up and we could then enter it into a database.
    How complicated is something like this? Does it require use of Javascript to submit and send the entered text to the e-mail address? Is it as simple as setting up fields, linking them somehow and including a submit button? How do I set the action on the submit button to e-mail the data to us? Any suggestions? If you rather e-mail me, feel free at mailto:hawksman@mac.com
    ------------------
    --Mike
    Amazon Hot 100 DVD's
     
  2. John K Carter

    John K Carter Stunt Coordinator

    Joined:
    Sep 23, 1999
    Messages:
    64
    Likes Received:
    0
    Mike,
    You should check with your host to find out what kind of server your site is on. If it is NT/win2k then will need to setup your form for CDOMail
    If it is unix based then you need to find out the path to their CGI form mailer & the proper usage of that cgi script.
    Most hosts have help files/examples for setting up e-mail forms on their servers.
    Of course if you wanted to get real slick you could use ASP on a NT/Win2k server and have your form information go direct to an online database. Then your alumni could search for others using that same database.
    Macromedia UltraDev is what I use for online database applications.
    Hope this helps somewhat.
    -j.c.
     
  3. DaveF

    DaveF Moderator
    Moderator

    Joined:
    Mar 4, 2001
    Messages:
    17,387
    Likes Received:
    1,340
    Location:
    One Loudoun, Ashburn, VA
    Real Name:
    David Fischer
    From my hobbyist efforts, I know that this is very easy if you can use a server-side scripting language, like PHP. Doing it all client-side, I don't know.
    But you might be able to use javascript to format the info and invoke the user's email program with the info. The user would then have the extra step of pressing the "send" button.
    One good place for javascript info is http://javascript.internet.com
     
  4. Adam Tyner

    Adam Tyner Screenwriter

    Joined:
    Sep 29, 2000
    Messages:
    1,413
    Likes Received:
    0
    Yes, PHP is excellent and eclipses (shudders with disgust) ASP. There are tons of form->mail scripts for PHP out there (due in large part to the fact that an absolute bare bones script requires exactly one line of code), and I can send you one I have lying around that does error checking and the like if you're interested.
    I'd agree that a database is the way to go. PHP integrates quite nicely with MySQL...
    ------------------
    My DVD list | My personal site
     
  5. Ryan Wright

    Ryan Wright Screenwriter

    Joined:
    Jul 30, 2000
    Messages:
    1,877
    Likes Received:
    0
    The problem is, he's going to have to have the blessings of the server administrator to do this. Most will have some sort of CGI in place that you can use, but some have nothing and refuse to budge.
    Here is a quick & dirty example that calls a perl script:
    Code:
    
    Name: 
    Graduation year: 
    Select year
    1970
    1971
    1972
    1973
    
    (add more form elements here as needed)
    
    
    
    
    For more information on forms: http://archive.ncsa.uiuc.edu/SDG/Sof.../overview.html
    ------------------
    -Ryan (http://www.ryanwright.com )
    Before you criticize someone, walk a mile in their shoes.
    That way, when you do criticize them, you'll be a mile away and you'll have their shoes.
     
  6. Adam Tyner

    Adam Tyner Screenwriter

    Joined:
    Sep 29, 2000
    Messages:
    1,413
    Likes Received:
    0
    If PHP is installed on the server, you won't have to mess around Perl scripts, cgi-bin directories, permissions, or contacting any administrative individuals.
    ------------------
    My DVD list | My personal site
     
  7. Craig Chatterton

    Craig Chatterton Stunt Coordinator

    Joined:
    Apr 18, 1999
    Messages:
    149
    Likes Received:
    0
    Has your classmate decided on a website yet? You might consider a webpage that can do Miva . Miva is a very easy to learn, server side scripting language that does Emailing very well. They also have a great user group that would help you get a web page set up.
    ------------------
    Virgo: All Virgo's are extremely friendly and intelligent, except for you. Expect a big surprise today, when you wind up with your head impaled upon a stick.
     
  8. EddieN

    EddieN Agent

    Joined:
    Sep 23, 2000
    Messages:
    36
    Likes Received:
    0
    Ummm ... I think instead of learning scripting and what not you could set the action of the form as mailto:blah@htf.com and that should be it. The only problem about that is the person submitting the form will get a warning, I think, saying it's submitted the form to an e-mail address, but if you warn them before hand it should be all good.
    ------------------
    - Eddie
     
  9. Graeme Clark

    Graeme Clark Cinematographer

    Joined:
    Jan 5, 2000
    Messages:
    2,181
    Likes Received:
    0
    It's been a loooooong time since I've done this, but I think using mailto sends you a nasty unformatted e-mail.
    ------------------
     
  10. EddieN

    EddieN Agent

    Joined:
    Sep 23, 2000
    Messages:
    36
    Likes Received:
    0
    Hey Graeme,
    Indeed it does send a nasty unformatted e-mail, but he did say he was going to manually enter this info into a DB, and I doubt they'll be getting many submissions a day.
    ------------------
    - Eddie
     

Share This Page