Location: PHPKode > projects > Maian Support > maian_support/control/connect.inc.php
<?php

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Script: Maian Support v2.0
  Written by: David Ian Bennett
  E-Mail: hide@address.com
  Software Website: http://www.maiansupport.com
  Script Portal: http://www.maianscriptworld.co.uk

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  This File: connect.inc.php
  Description: MySQL Connection File

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/*
  Enter your database connection parameters. If you are not sure of this, please contact
  your web host. If you get a message along the lines of 'Access denied for user..', then 
  your connection information is not correct.
  
  Important: The prefix is for people with only a single database. If you aren`t bothered
  about the prefix, do NOT comment it out. Leave it blank if no prefix is required.
*/  
define('DB_HOST', 'host name goes here..');
define('DB_USER', 'username goes here..');
define('DB_PASS', 'password goes here..');
define('DB_NAME', 'database name goes here..');
define('DB_PREFIX', 'ms_');

/*
  Specify secret key and cookie name. This is for security. Both values MUST be changed.
  DO NOT change these values at a later date. Change ONLY before a clean install.
  
  Both should ideally be a mix of random numbers, letters and characters.
*/  
define('SECRET_KEY', 'secret-key-name');
define('COOKIE_NAME', 'ms-cookie');

/*
  Specify your timezone. This will only work if you are running PHP5 or greater. If you
  are running an earlier version it will have no affect and adjustments can be made in 
  the settings.
  
  For a list of supported timezones visit:
  http://php.net/manual/en/timezones.php
  
  Alternatively, for auto detection use:
  define('DEFAULT_TIMEZONE', date_default_timezone_get());
*/  
define('DEFAULT_TIMEZONE', 'Europe/London');

/*
  By default MySQL errors are shown onscreen. This can be a security issue as it reveals server paths
  and sensitive data to visitors. If you are sure the system is working fine, this value should be set
  to 0 to disable mysql errors. If set to 0, specify friendly message in MYSQL_DEFAULT_ERROR.
  
  Note: HTML mey be used in the default error, but apostrophes MUST be escaped with a backslash. ie: \'
*/  
define('ENABLE_MYSQL_ERRORS', 1);
define('MYSQL_DEFAULT_ERROR', 'There is currently a problem with our database. Please try again later!');

?>
Return current item: Maian Support