"Dedicated to the Total production of you world wide web site".




Guestbook Setup

To quickly add a guestbook to your hompage, simply add this code onto your home page that will call up the guestbook script.

    <form action="/pub-cgi-bin/guestbook.cgi" method="POST">

    If you would like to recieve an email notification when someone adds to your guestbook, add this code onto your home page instead.

    <form action="/pub-cgi-bin/mailme_guestbook.cgi" method="POST">

    You may create an addguest.html file in the guestbook dir and call that up page to let people add to your guestbook. You then can customize the background and layout of your addguest.html so it will conform with the rest of your sites appearance.
    Simply call the guestbook script from this addguest.html page instead of your home page.

    Here is an example of a what you should add into your addguest.html doc once you have added your preferences for the page such as background, header footer, etc..

    <form action="/pub-cgi-bin/mailme_guestbook.cgi" method="POST">
    <input type="hidden" name="NEXT_URL" value="http://www.YOURDOMAIN.com/thankyou.htm">
    <p><strong>Your Name:<input type="text" size="30" name="realname"><br>
    E-Mail: <input type="text" size="40" maxlength="30" name="username">
    <br> URL: <input type="text" size="50" name="url">
    <br>
    City: <input type="text" size="15" name="city">,
    State: <input type="text" size="2" name="state">
    Country: <input type="text" size="15" name="country" value="USA"></strong></p>
    <p>
    <strong>Comments:</strong><br>
    <textarea name="comments" rows="6" cols="53"></textarea> </p>
    <p>
    <input type="submit" value="Add To Guestbook"> *
    <input type="reset" value="Reset this Form"> </p>
    </form>


Here is what these lines mean.

Where is the guestbook script?
<form action="/pub-cgi-bin/mailme_guestbook.cgi" method="POST">
What document should I display after they enter something into my guestbook??
<input type="hidden" name="NEXT_URL" value="http://www.YOURDOMAIN.com/thankyou.htm">
What are they going to add to my guestbook?
Their Name:<input type="text" size="30" name="realname">
Their E-Mail Address: <input type="text" size="40" maxlength="30" name="username">
Their URL: <input type="text" size="50" name="url">
Their City: <input type="text" size="15" name="city">,
Their State: <input type="text" size="2" name="state">
Their Country (Defaults to USA): <input type="text" size="15" name="country" value="USA"></strong></p>
Their Comments:</strong><br>
<textarea name="comments" rows="6" cols="53"></textarea> </p>
<p>
The Button that sends the comment
<input type="submit" value="Add To Guestbook"> *
The Button that clears the comment form so they can start over.
<input type="reset" value="Reset this Form"> </p>
</form>


Thats IT!


If you still have support questions, CONTACT US!





Copyright © 1997 InterNeTT Services, All rights reserved.