![]() |
|
|
|
![]() |
![]() ![]() |
Simple Guest List FormA simple way of interacting with clients that visit a web site is to allow them to sign a guest list and leave some comments. A small form and custom CGI can be designed to facilitate such a task. The guest list form and CGI source are presented in two sections below.HTML source for the guest list form The HTML source below represents the skeleton of a guest list which will store the guest entries. It is recommended that the part of the guest list in bold be left intact. The remainder of the page can be customized to your own liking.
<head> <title>Guest List</title> </head> <body> <h3>Guest List</h3> <p> Feel free to add your name, E-mail address, and comments to the guest list by using the Guest list Entry Form. <p> <p align=center> <font size = "+1"> <b> G U E S T L I S T </b> </font> <!-- __GUEST LIST_BEGIN__ --> <!-- __GUEST LIST_END__ --> <p> </body> </html>
<!-- __GUEST LIST_END__ --> PATHNAME represents the pathname of the guest list file relative to the "htdocs" directory of your server. For example, if your guest list file was named "guestlist.html" and was located in a subdirectory "guest" of your main "htdocs" directory, you would set PATHNAME to be "/guest/guestlist.html". If the file "guestlist.html" is located in your main "htdocs" directory, you would set PATHNAME to be "/guestlist.html". ADDRESS should be set to the e-mail address where a copy of guest list entries which include a return e-mail address are sent.
<head> <title>Guest List Entry Form</title> </head> <body> <h3>Guest List Entry Form</h3> <hr> <p> Thank you for taking the time to sign our guest list Feel free to add your name, E-mail address, and comments to the guest book by entering them in the form below. <p> <hr> <form method="POST" action="/cgi-bin/Scriptorium/guest list/guestlist.pl/PATHNAME"> <input name="recipient" type="hidden" value="ADDRESS"> <input name="maxentries" type="hidden" value="MAXENTRIES"> <font size="+1">Your Full Name:</font> <br> <input name="name" size=50 maxlength=64> <p> <font size="+1"> Your E-mail address (optional):</font> <Br> <input name="email" size=50 maxlength=64> <p> <font size="+1"> Your comments (optional):</font> <Br> <input name="comments" size=50 maxlength=256> <p> <input type="submit" value="Sign Guest list"> <input type="reset" value="Clear"> <p> </form> </body> </html> Installation To install the comments form on your Virtual Server you will need to do the following:
|
|
![]() |
[ SERVERS | ECOMMERCE | SUPPORT | SPECIALS | SEARCH | SITE MAP | ORDER] [ HOME | CONTACT US | ABOUT US | PRIVACY | LEGAL | REFUND POLICY ] © Copyright 1998 - 2001 Blue Reef Consulting, Inc. All Rights Reserved. Comments or questions about this web site? Write to webmaster@bluereef.net. Phone: (305) 274-8393 |