Location: PHPKode > projects > EasyFest > new/config.php
	header("Expires: Thu, 17 May 2001 10:17:17 GMT");    // Date in the past
	header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
	header ("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
	header ("Pragma: no-cache");                          // HTTP/1.0

  Register session variables

  We register our session variables here to save us retyping the
  session variable registration code in every script that requires
  the session variables (which is every script!)


  Initialize global variables

  We declare a $messages array which we will use to hold error
  messages for display to users in case of errors.  Declaring this
  variable an array here saves us retyping it in every script that
  might use the $messages array (see above).

  We initialize the following variables - $dbhost, $dbuser, $dbpass
  and $dbname - with the values correct for our mysql database.

  You should change these values to reflect your own database details:
  Create a connection to the DB

  As mentioned above, we connect to the db here to save retyping
  the db connection code in every script.  The 'connectToDB()'
  function is found in the 'functions.php' file.
Return current item: EasyFest