BACCYFLAP.COM

download my guestbook

I wrote this exceedingly simple guestbook in PHP. All you need to do to get it working straight out of the box is to ensure that data.txt has the appropriate permissions (CHMOD 666).

Form data from index.php is sent to write.php, which processes the text into comma-separated values that are written to data.txt, the contents of which read.php reproduces in index.php.

There is also a cheeky little field in the form that appears 1000 pixels left of your viewport. You don't see it, but bots do, and if they put a value in that field, nothing is posted - it's primitive spam control.

download gbook.zip (2.6 kB)


If you want to use and adapt it, go forth and be merry, no credits required - although I wouldn't abhor a linkback.