Having a guestbook allows your visitors
to post information or comments directly to your site and have other
vistors see them. There are only a few of steps that you must take
to put a guestbook on your site.
You now have a basic guestbook for your site! When a user submits
an entry using the form they will get a page that says "Thank
you for your submission" and then list the fields that they
entered. Their entry will appear in the area where you placed
<!-- HWCN GUESTBOOK INSERT AFTER THIS LINE
-->
You can 'fine tune' your guestbook by adding additional
SSI command(s) ABOVE the initial SSI commands above.
| |
| The SSI command: |
<!--#set
var="REQUIRED" value="fieldname1,fieldname2,..."
--> |
| What it does: |
| By entering the field names of your
form in the value attribute, they now become required. The form
will not submit unless the user puts something in those fields. |
| |
| The SSI command: |
| <!--#set
var="SHOWDATE" value="YES" --> |
| What it does: |
| Writes the date and time into your
guestbook when it adds an entry. |
| |
| The SSI command: |
| <!--#set
var="BLOCK" value="LINKS" --> |
| What it does: |
Blocks submission of
guestbook entries which contain web page links (URL's).
(Useful for blocking spam ads from being posted to your guestbook) |
| |
| The SSI command: |
| <!--#set
var="CENSOR" value="NO" --> |
| What it does: |
| Disables the default filter that
censors a few common profanities. |
| |
| The SSI command: |
| <!--#set
var="MAIL" value="YES" --> |
| What it does: |
| Sends copy of the submitted form
emailed to the web page owner each time someone submits a guestbook
entry. |
| |
| The SSI command: |
<!--#set
var="MAILTO" value="emailaddress" --> |
| What it does: |
| When emailing a copy of the entry,
by default, the script emails the account where the guestbook
resides. The above SSI will email the entry to the email address
in the value attribute. |
| |
| The SSI command: |
| <!--#set
var="SUBJECT" value="Your Subject Here"
--> |
| What it does: |
| By default, the script enters the
Subject of the email you receive as "Form Data". The
above SSI will use the Subject specified in the value attribute. |
| |
| The SSI command: |
| <INPUT TYPE="checkbox"
name="PRIVATE" value="YES"> |
| What it does: |
| When your visitor clicks this checkbox,
the form will be mailed and not added to the guestbook. |
| |
| The SSI command: |
| <!--#set
var="THANKS" value="Your Text Here" --> |
| What it does: |
| By default, the script produces the
message "Thank you for your submission" on the Thank
You page. The above SSI allows you to customize your own in
the value attribute. |
| |
| The SSI command: |
| <!--#set
var="FORMAT" value="NONAMES" --> |
| What it does: |
| The above SSI will eliminate the
Field Names in the guestbook entry |
| |
| The SSI command: |
| <!--#set
var="FORMAT" value="NOECHO" --> |
| What it does: |
| By default, the script 'echos' the
information, entered in the form, on the Thank You page. The
above SSI will eliminate that. |
| |