EpleBook

If you like EpleBook, please rate it at hotscripts.com!

EpleBook is a PHP and MySQL powered guestbook. It has been tested on and should work with both PHP4 and PHP5.

Installation

  1. In the file create_table.sql you'll find the query to create a table in your database. In phpMyAdmin you can paste the query into the query-field, or simply point phpMyAdmin to the .sql-file
  2. Open config.php and change the values of the following variables:
    • $adminPass = the md5-hashed password for the admin area. The default value is 'password'
    • $sql.... = different data needed to access the mySQL database
    • $topMenu = the HTML for displaying the menu at the top of each page within the script
    • $limit = number of comments displayed on each page
    • Everything else (functions and such) should be left alone unless you know exactly what you're doing :)
  3. Upload the files admin.php, index.php and config.php to the same directory. If you must separate them, you'll have to change some paths here and there
  4. In the zip-file you downloaded there will also be a style.css-file. This contains information for the browser on how to display different elements in the guestbook. This can of course be changed to fit your needs. You can copy and paste the contents of style.css into your own css-file if you have one
    • Note: Everything in the css-file will only apply for elements inside the <div class="gbook">, except for the p at the bottom of the file. You probably have your own definitions of how the p-element should be presented, so just remove this from style.css if you don't want it to conflict with your existing CSS.

Changes in version 1.5