I've downloded a 3rd party Guest book script (One CGI file which links to
a html file containing both the form and entries) from
http://bignosebird.com/carchive/bnbbook.shtml and it's all great, except
for 2 things, the fact it doesn't display the entry numbers, so Is there a
simple way to do this? Perhaps a simple bit of code to add somewhere in
And also, is there a way for it to create a new html page for older
entries after 20 or so entries have been added to the GB?
You have to alter the lines
if ($line eq "<!--bookmark-->")
print WRBK "<!--bookmark-->\n";
print WRBK "$PAGE_ENTRY\n";
print WRBK "$line\n";
to introduce some counting.
[ back to toc ]