BareMetal.com

Baremetal
My Account
Domain Registration Management Services
Web Services
Rates and Specs
Bulk Rates
CGI Library
FAQ
Order Form
Tech Support
Billing Info
Company Info
Charities
Legal Info
Employment
Privacy Statement

BM


Web Services

Web Gadgets: Guestbook;

Return CGI Library

This gadget expects to receive the input from a form with the fields NAME, FROM, and COMMENT (and perhaps a BM_captcha field). It also expects the document containing the form to have a line in it that STARTS with <!AFTER> or <!BEFORE>. The contents of the NAME, FROM and COMMENT fields will be inserted with a little HTML AFTER or BEFORE that line respectively. (This produces a list with the most recent entries first or last respectively.) (note: The variables, and the AFTER/BEFORE tag are case sensitive.)

Note: The guestbook gadget does not work with default directory index pages. This includes index.html, index.htm, default.html, default.htm etc. (any file that is set to load as an index without calling the actual file name in the url). Otherwise the gadget will not be able to find the file to update and will produce an error.

Features include CAPTCHA protection, filtering the input characters so that anonymous web surfers can't leave images, links, and general HTML in your guestbook. It also requests that the viewer fill in all three fields :-(, this is due in part to the nature of the redirect that is built into it. It becomes very easy to submit a blank entry.

The CAPTCHA logic is "optional", If you don't include it in your form, the gadget will display a 2nd page with the captcha (and hidden fields to remember the name/from/comment values). This is the same captcha functionality used in the mail2 gadget.

Here is a very simple example:

<pre>
<form action="/cgi-bin/guestbook" method="post">
       Who are you: <input type="text" name="NAME" />
Where are you from: <input type="text" name="FROM"  />
What would you like to say:
<textarea name="COMMENT" cols="30" rows="5" >
</textarea>

Please enter the three letters
from the image below:       <input name="BM_captcha" size=5>

<input type="submit" value="Leave your comments" size="40" />
<IMG SRC="/cgi-bin/captcha">
</form>
</pre>

<!AFTER>

               Who are you: 
        Where are you from: 
What would you like to say: 

Please enter the three letters
from the image below:       

                            



Saturday, October 4 at 11:36 PM:
Sini from Turku wrote:
"Jee this is nice"

Monday, August 11 at 11:41 AM:
A tester from MJ Penner Consulting wrote:
"This is a test"

Tuesday, July 22 at 01:14 PM:
Chris from Someplace wrote:
"i want this"

Tuesday, July 15 at 08:30 AM:
Someone from Someplace wrote:
"Is there anyway to make this compatible on my website?"

Friday, November 30 at 06:24 AM:
shaay from neorelax.com wrote:
"thanks Baremetal, your a begginers dream come true. Thanks"

Thursday, November 9 at 01:43 PM:
Marty Zuliniak from Dundas, Ont wrote:
" I am running for Mayor in Hamilton on Nov.13/2006 and would like your support. thanks, Mayor Elect, Marty Zuliniak "

Sunday, October 29 at 12:01 AM:
tom from baremetal wrote:
"just making sure this is live. the comments get reset every time the page is reformatted..."

Friday, September 9 at 10:20 AM:
Troy from wontme78 wrote:
"Nice web site I enjoyed reading. I wish you and your family the best of luck."

Tuesday, October 19 at 02:19 PM:
Tom from TomSlatin.com wrote:
"Love the gadgets! Baremetal rocks!"

Wednesday, October 6 at 06:42 AM:
bob from sthlm wrote:
"hmmm..."

Friday, July 13 at 09:36 AM:
Rossco from Port Moody wrote:
"I am considering using BareMetal as a host for my clients. "

Thursday, October 28 at 03:10 PM:
GW from Victoria wrote:
"I suggest that you allow some formatting such as paragraphs. This format runs all comments togerther in one paragraph. The thing I like about it is that the most recent comment appears at the top of the comments. Some guestbooks don't do that."

Wednesday, October 20 at 12:21 AM:
tired from nod wrote:
"if <!After> comes first, what comes last?"

Thursday, September 16 at 10:45 AM:
Bernhard Heinz from Wolfsgraben wrote:
"Baremetal rulez!"

Saturday, September 4 at 03:35 PM:
Thomas from Stamford, New York wrote:
"This guestbook gadget rules!"

Monday, August 10 at 12:11 PM:
this from looks wrote:
"really cool but could I keep on typing past this line . wow I can but will it all show up? I guess I have to figure that out now by pressing the button."

Saturday, May 2 at 05:41 AM:
Subedei from Canberra, Australia wrote:
"I'd like to say something real smart and witty, mind you I don't know anything smart and witty. Dam."

Friday, October 3 at 06:03 PM:
Thomas Slatin from Stamford, New York wrote:
"This is neato."

Monday, September 8 at 04:01 AM:
Silver Hammer from Philippines wrote:
"lemme try this. I'm sure this works. I need this to make money and a lot of money too."

Sunday, July 13 at 11:25 AM:
Alex from New York, NY wrote:
"Cool guestbook."

Wednesday, February 5 at 5:53 PM:
Gordon Currie from Dawson Creek, BC wrote:
"Send money or the dog gets it!"

Tuesday, December 17 at 8:4 AM:
Jeremy O'Reilly from Henderson, NV wrote:
"BareMetal Rulz!"





 
Home Page    Domain Registration Services    Web Services    Technical Support
About Baremetal    Privacy Statement    Billing Info    Charities
My Account    Legal Info    Sitemap    Search BareMetal

Copyright © 1996-2012, BareMetal.com Inc.
Last updated: Thursday, 10-May-2012 09:21:35 PDT
Last Accessed from: 211.240.205.121.broad.pt.fj.dynamic.163data.com.cn
Questions and comments to support@baremetal.com