newbie stupid question on forms

i have a form that i've written in html and need to user to be able to submit it (more user entered information than just checking one box, but less than a written essay). i understand that having the form "mailto:" is a bad idea and i have access to asp, but i have no idea what to do. do i have the file uploaded to a database or do i have it email it to me (and how is this different than "mailto:")? basically i'm a bit lost as to what exactly "asp" is and which option is best (easiest for me and most "foolproof" for the user). any advice is appreciated.

Advertisements

<mandeelea> wrote in message news:#...
> i have a form that i've written in html and need to user to be able to
submit it (more user entered information than just checking one box, but
less than a written essay). i understand that having the form "mailto:" is a
bad idea and i have access to asp, but i have no idea what to do. do i have
the file uploaded to a database or do i have it email it to me (and how is
this different than "mailto:")? basically i'm a bit lost as to what exactly
"asp" is and which option is best (easiest for me and most "foolproof" for
the user). any advice is appreciated.

What do you want to do -- insert it into a database, email it, or what?

Here's a sample that will ask for an e-mail address and then display it.

Advertisements

mandeelea wrote:
>i have a form that i've written in html and need to user to be
>able to submit it (more user entered information than just
>checking one box, but less than a written essay). i understand
>that having the form "mailto:" is a bad idea and i have access to
>asp, but i have no idea what to do. do i have the file uploaded
>to a database or do i have it email it to me (and how is this
>different than "mailto:")? basically i'm a bit lost as to what exactly
>"asp" is and which option is best (easiest for me and most
>"foolproof" for the user). any advice is appreciated.

If you use a "mailto:" link you're depending on your user's email
client to send your data to you. If your user's client is not
configured correctly or if your user doesn't have email capability, it
won't work. Having your server-side process email the data to you will
always work, because it's entirely under your control. You know the
email software exists and is correctly configured, because you control
it.

ASP is a platform for server-side processing. ASP pages can retrieve
the data your user submits, they can stick it in a database (if you
have one available), they can email it to you, they can echo it back
to the user, or anything else you can think of. Since this runs on the
server - which you control - you can be sure that it will work.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!