"Main Page", "url" => "index.php"), array("name" => "Administration", "url" => "admin.php") ); } // The header used in all HTML pages. function get_header($title = "") { global $db; ?> <?php if ($db->dbh && empty($title)) { print($db->get_option("guestbook_title")); } else { print($title); } ?> dbh) { $customcss = $db->get_option("custom_stylesheet"); // TODO: Preferably use PCRE... if ((strstr($customcss, ".css") !== FALSE) && (file_exists($customcss))) { print(""); } } ?>

Powered by Jeremy's Easy Guestbook

Database Error

The guestbook experienced an error with the database. Please check the username, password and database details and run the installer.

If you haven't already, run the installer, or you might want to re-run it to make sure the tables are intact.

The installer can't run either. This is probably because the MySQL user doesn't have the sufficient privileges.

Configuration Not Found

Hey there! You're now running the guestbook, but I noticed there isn't a file called config.php anywhere in sight. I need that file to find out how to converse with your MySQL database.

If you just installed the guestbook, you should find a file called config-sample.php which is a file with some example configuration as an guide for you. You'll need to edit that file and put your own MySQL information in (that should be fairly self-explanatory — if not, see the README file) and rename it to config.php.