Location: PHPKode > projects > Filebased Guestbook > filebased-guestbook/include/config.inc.php
<?php
  // -----------------------------------------------------------------------------------------------
  // Project:   Filebased guestbook.
  // File:      config.inc.php
  // Topic:     defining shared resources
  // Author:    hide@address.com
  // -----------------------------------------------------------------------------------------------

  $authentication         = array( "admin"    => "test",           // ... add login/password pairs
                                   "whatever" => "whatever" );

  $conf[cookieseconds]    = 1 * 24 * 3600;                         // days * hours * seconds
  $conf[cookielifetime]   = time() + $conf[cookieseconds];         // now + cookieseconds

  $conf[langfeature]      = "yes";                   // specify, if you want the language select menu or not
  $conf[langdefault]      = "ge";                    // specify your default language, currently available
                                                     // languages are: ge, uk, se, nl, it, cz
  $conf[itemsperpage]     = 3;                       // number of displayed items per page
  $conf[f_data]           = "data/data.txt";         // your data file
  $conf[version]          = "V1.1.3";                // version of this guestbook
  $conf[myemail]          = "hide@address.com";          // specify your reply email address
  $conf[feedback]         = "yes";                   // select if you want to be informed on a new entry

  $conf[c_email]          = "mailto:hide@address.com?subject=gbook_".$conf[version];
  $conf[c_credits]        = "(c) 2000 by urs gehrig";

?>
Return current item: Filebased Guestbook