473,320 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Collect and store form data entered by site visitors

Hi. I want people to enter specific information on my website - most
likely in a form. (i.e. their name, address, etc). I then want that
information to be emailed to me. Is there a way to do this using just
html code?

I generally use Frontpage to create web pages. But here is what the
help said, "Microsoft FrontPage Server Extensions must be installed on
the server on which your web site is located." Unforutnately, I don't
have the FrontPage Server Extensions available. Therefore, please let
me know if there is some kind of html code that I can copy/paste.

thanks in advance

Nov 23 '05 #1
7 4119
"Novice Computer User" <at***********@hotmail.com> writes:
Hi. I want people to enter specific information on my website - most
likely in a form. (i.e. their name, address, etc). I then want that
information to be emailed to me. Is there a way to do this using just
html code?


No. You need a script or program on the server - quite often a CGI, but
PHP, JSP, and other server-side technologies are popular too - to handle
the form submission and email you the results.

Avoid FrontPage like you would a wet dog. It stinks to high heaven, and
sooner or later it'll make a mess of everything around it.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Nov 23 '05 #2
Do you have such a freeware script that a dummy like me can even
understand/modify?

Any help is much appreciated.

Nov 23 '05 #3
"Novice Computer User" <at***********@hotmail.com> writes:
Do you have such a freeware script that a dummy like me can even
understand/modify?


First a tip - one of the most critical steps to learning new things is
believing that you can learn them.

That said - have a look at <http://nms-cgi.sourceforge.net/>.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Nov 23 '05 #4
"Novice Computer User" <at***********@hotmail.com> wrote:
Do you have such a freeware script that a dummy like me can even
understand/modify?


Please learn to quote or rephrase the relevant part of the message you
commenting on. Please learn to write your name where it belongs.
Please do not imagine that if you are really a novice computer user,
you could modify (still less understand) scripts.

If you are a novice computer user, have some good time with the Web, learning
how it works. Maybe later create a simple web page of your own.

If you are a novice computer user, as you say you are, creating interactive
web pages is far too challenging. In a year or two, perhaps, you will create
them - but then you will _first_ find out whether your ISP lets you run any
scripts on the server, and a fairly probable answer is "no, except for a few
scripts made available by the ISP - you can use them as such when you have
read the instructions".

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Nov 23 '05 #5
Novice Computer User,

A little knowledge is a dangerous thing, so here's something dangerous
:o)

E.g.using php

Here's a very simple php form example:
http://www.w3schools.com/php/php_forms.asp

Here's what welcome.php (the form target script from previous link)
would look like to send an email:

<html>
<body>
<?php
$to = "my*****@mydomain.com";
$subject = $_POST["subject"];
$message = $_POST["msg"];
$headers = 'From: we*******@mydomain.com';

if (mail($to, $subject, $message, $headers)) {
echo "<p>email sent</p>";
} else {
echo "<p>email not sent</p>";
}
</body>
</html>

Be careful if you chose to investigate this not to allow your form to
be used to send spam, here's an explenation of how a badly written
email script could allow this:
http://securephp.damonkohler.com/ind...mail_Injection

Regards,

AD7six

Nov 23 '05 #6
>Hi. I want people to enter specific information on my website - most
likely in a form. (i.e. their name, address, etc). I then want that
information to be emailed to me. Is there a way to do this using just
html code?


No. You need a server-side script, which would generally be written in
something like Perl or PHP. If you are hosting through your ISP, then
odds are you won't be able to set this up at all. If you are using a
hosting service, chances are good that they may have something like
this already installed.

If it's really important that you do this (i.e. - for a business
purpose), then you may want to consider hiring someone to set up such a
script, rather than trying to do it on your own. You can learn as you
go, but that's not a good idea for critical applications.

Nov 23 '05 #7
"Novice Computer User" <at***********@hotmail.com> writes:
Hi. I want people to enter specific information on my website - most
likely in a form. (i.e. their name, address, etc). I then want that
information to be emailed to me. Is there a way to do this using just
html code?


Yes, there is, but you might or might not want to use the technique.
See the article below:

http://www.netmechanic.com/news/vol3/form_no4.htm

Nov 25 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: TG | last post by:
Form inputs question: How can I store the inputs a user has put into a form if they leave my website without calling the post command? I store them now after the post command is called when a...
11
by: Colin Steadman | last post by:
Hope this makes sense! I'm building an ASP page which allows uses to add items to an invoice via a form, ie: Item No Part No Order No Quanity Units Price VAT ------- ...
19
by: Bruce Duncan | last post by:
I know this isn't a php group but I was wondering if my problem is with my javascript in my php code. I'm debugging someone else's code and I can't figure out why this form won't submit. This...
0
by: Michael | last post by:
Hi All, I am working on my intranet reporting web site, by use of IIS5 + Office2000 +SQL2000. Currently, the first step, I show user an ASP web-interface to collect user input, keyword...
7
by: Shadow Lynx | last post by:
I realize that his question has been asked, in many other forms, many times in this group. Even so, my tired eyes have not yet found a sufficient answer, so I've decided to "reask" it even though...
2
by: Alan Silver | last post by:
Hello, I am designing a form that allows people to request the formation of a limited company. When they fill in the form, they have to supply a certain amount of information relevant to their...
4
by: c676228 | last post by:
Hi everyone, I need to write a insruance program which needs to collect multiple people information, The information for each person includes name, email, address, phone, dob etc. The DOB data...
4
by: svgeorge | last post by:
I NEED TO COLLECT FROM THE GRIDVIEW(DATASELECTED) IN TO A TABLE(SelectedPayment) -------------------------------------------------------------------------------- How TO COLLECT THE ROWS...
70
mideastgirl
by: mideastgirl | last post by:
I have recently been working on a website for an honors association, and have a lot of difficulty but have found help from those on this site. I would like to see if I can get some more help on a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.