473,466 Members | 1,514 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Forms / submit. Making a guestbook.

Hello everyone,

Just wanting some advice. I'd like to start removing the
Microsoft-generated guestbook (a feature of FrontPage) on my websites
but I'm not sure if it can be done just using HTML. There seems to be a
lot of server-side processing going on. The guesbooks are setup in such
a fashion that when user submits an entry, not only is it posted in the
page for public viewing, but I also receive an e-mail letting me kow
that the guest book has a new entry in it.

The users entry is sent to an htm file called guestlog.htm (the content
is actually generated HTML, not in text format). The guestlog .htm file
is then included in the main Guest Book. So it's probably a SSI include
of some sort. This is how the code looks:

<form method="POST" action="--WEBBOT-SELF--"
onsubmit="location.href='_derived/nortbots.htm';return false;"
webbot-onsubmit>
<!--webbot bot="SaveResults" u-file="guestlog.htm" s-format="HTML/BR"
s-label-fields="TRUE" s-builtin-fields="Date Time" startspan
b-reverse-chronology="TRUE" s-date-format="%d %b %Y"
s-time-format="%H:%M:%S" --><input TYPE="hidden" NAME="VTI-GROUP"
VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->

This seems to be Microsoft Propietary code. It's probably also hiding
the real code that's doing all the work. The e-mailing feature is setup
in such a way that I receive an e-mail alerting me about the entry, but
it all happens in the background. The original poster has no idea I'm
getting an e-mail.

Just for a test, I tried doing:

<FORM action="mailto:my_email@my_isp.com" method="post">

This *did* send an e-mail, but it was overtly done. My Outlook Express
opened up with the new mail form and asked if I wanted to send it. I'd
prefer it to be done in the background. Currently, when I receive a
"guestbook entry altert" e-mail, it comes from the webhost. So this is
more a server side application than from the HTML?

It seems to me that there's a lot of PHP/Server Side scripting involved
in this. For instance, the guestlog file is not just a text file that I
can include with an SSI include - it has auto generated HTML. That's
probably a server-side script. The e-mail is sent by the host - that's
probably server side generated as well.

Can this be done just using HTML? For instance, using no PHP or
server-side scripting, can I make the data in the form fields come out
as formatted HTML? It doesn't seem so. Although I'd like to replace the
guestbook and code it myself, it seems that I'll have to have a lot of
server-side scripting knowledge for this.

Is this a correct assumption? It maybe best to just leave it alone for
now until I can start learning some PHP. I think I need to get a better
handle on HTML/CSS first, though.

If you want to see an example, here's one:
http://home.comcast.net/~vikenk/guestbook.htm

Thanks in advance for any analysis.

Viken K.

Jan 19 '06 #1
1 11959
"Viken Karaguesian" <vi****@aol.com> wrote in
<news:11**********************@z14g2000cwz.googleg roups.com> :
I'd like to start removing the
Microsoft-generated guestbook (a feature of FrontPage) on my
websites but I'm not sure if it can be done just using HTML.


You're correct, HTML alone cannot create a guestbook. You need
some server side process to accept, post, email, and so on.

Find out what your server supports: e.g. Perl, PHP, CGI, SSI, or
something else. Then go and find a suitable guestbook to install.
There are plenty written in Perl/PHP.

There's one here that should be well written, though I don't use
it.
http://nms-cgi.sourceforge.net/

--
Rob McAninch
http://rock13.com
Jan 19 '06 #2

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

Similar topics

7
by: Marco Alting | last post by:
Hi, I want to use the submit button of a new window to submit the form of the new window (which carries two values to the opener window) and then submit the opener form. Can anyone tell me...
29
by: Mic | last post by:
Goal: delay execution of form submit Code (Javascript + JScript ASP): <% Response.Write("<OBJECT ID='IntraLaunch' STYLE='display : none' WIDTH=0 HEIGHT=0...
6
by: Fabri | last post by:
Is it possible to post all (or more of one) forms simultaneosly? document.forms.submit? Any help appreciated. Regards. -- Fabri
6
by: Joop | last post by:
Hi all, I'm kinda new to JavaScript, but hey... I'm trying anyway! ;-) So, here's my problem : I've created a table in my document, presenting a list of items, one can 'select' by clicking...
3
by: Chung | last post by:
Hi all, I have used the following code for doing the form submission. I don't think this is a right way to submit a from to a new aspx page because I need to add a dummy form in between. Could...
6
by: milkyway | last post by:
Hello there, I have the following code (written in Javascript) for posting of a form on the client side: .... var f2 = document.forms; f2.method = "post"; f2.submit();
2
by: Randall Parker | last post by:
Some questions on forms authentication: 1) Can one do one's own checking of username and password and totally bypass calling FormsAuthentication.Authenticate? 2) does the "new...
5
by: c676228 | last post by:
Hi everyone, my colleagues are thinking about have three insurance plans on one asp page: I simplify the plan as follow: text box:number of people plan1 plan2 plan3
4
by: rcwoodard | last post by:
Hello all. I have a continuous form that I need to make a field invisible or visible depending on the selection in another field. I have tried using Form_Current() and the following code: ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.