Location: PHPKode > projects > Private Message System > pmsys-2.3.0/includes/config.php
<?php

/******************************************************************
* $Id: config.php,v 1.17 2003/12/28 13:49:37 allowee Exp $
*
* Copyright (C) 2001-2003 PMS Dev Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA  02111-1307, USA.
*
* The "GNU General Public License" (GPL) is available at
* http://www.gnu.org/copyleft/gpl.html.
******************************************************************/
 
 //PLEASE EDIT THE VARIABLES BELOW. FOR MORE INFORMATION SEE THE README FILE. 

 $DBName = "pms";	//Database name 
 $DBUser = "pmsys";	//MySQL User name 
 $DBPass = "";		//MySQL password
 $Host = "localhost";	//MySQL host (Normally localhost)
 
 //MySQL Table Names. Don't change after you have run install.php
 
 $Users_Table = "pms_users_table"; 
 $Messages_Table = "pms_messages_table"; 
 $Log_Table = "pms_log_table";

 $full_path = '.'; // no / at the end
 // If you don't know what to put here...
 // put a . (dot) in there.

 // The title of the pages will go under here.
 // copy the whole line if you want to add a new title for a new page 
 
 $title[] = array("inbox.php", "Your Inbox"); 
 $title[] = array("email.php", "E-Mail A Member"); 
 $title[] = array("sent.php", "Sent Items");
 $title[] = array("login.php", "Log In"); 
 $title[] = array("compose.php", "Compose A Message"); 
 $title[] = array("viewmsg.php", "View A Message"); 
 $title[] = array("members.php", "Members List"); 
 $title[] = array("preferences.php", "Edit Your Preferences"); 
 $title[] = array("send.php", "Sending Your Message"); 
 $title[] = array("lost.php", "Get A New Password"); 
 $title[] = array("lostsend.php", "Sending Your New Password");
 $title[] = array("export.php", "Export Messages");
 $title[] = array("account.php", "Create An Account");


 $s_inbox = "Inbox";
 $s_write = "Write Message"; 
 $s_sent = "Sent Items"; 
 $s_pref = "Preferences"; 
 $s_memberslist = "Members List";
 $s_messages = "Export";
 $s_logout = "Logout";

 $Cookie_Name = "pms";
 $Cookie_Expires = "2592000"; //how long will the cookie live in seconds
 $timeoutseconds = "900"; // how long will a user stay in the users online in seconds
 $dateformat = 'Y-m-d @ H:i'; // Date format

 $sitename = "My Own Private Message System";    	//Set this to the name of your web site.
 $sitemail = "hide@address.com"; 	//Set this to your email address
 $siteaddr = "http://example.com/pms/";	//Set this to the URL of the directory on your site containing the PMS script 
 $timezoneoffset = "+6"; 
 $mail_errors = "1"; // get mails on db errors???
 $num_on_page = "15";
 $security_checking = "YES";
 $debug = 0;
 $gzip_compress = 1;
 $use_smtp = 0;

// ubbcode settings
// experimental!
// This does NOT work yet
$ubbcode['img'] = TRUE;
$ubbcode['style'] = TRUE;
$ubbcode['php'] = '1';
$ubbcode['maxheight'] = '10';
$ubbcode['maxwidth'] = '10';

// SMTP settings
$smtp['host'] = '';
$smtp['from'] = '';
$smtp['username'] = '';
$smtp['password'] = '';
 
// You, as admin, can get mails on new sign-ups. set to TRUE if you want to get mail about new sign-ups 
 $newsignupmail = "TRUE";
 
// a few titles. leave them alone if you don't know what it does
$maini = "Main Index";
$notlogin = "Not logged in";
$loginas = "Logged In As: ";
$nomessages = "No Messages";

// No or xx new out of xx messages line
$new = "New";
$no = "No";
$outof = "out of";
$messages = "messages";

// flood time in seconds
$flood = "10";

// A few things only for PHP scripters
// DO NOT edit below!

if(isset($_REQUEST['page'])){
	$text2 = htmlspecialchars($_REQUEST['page']);
	foreach ($title as $ptitle) {
	$text2 = str_replace($ptitle[0],$ptitle[1],$text2);
}	
$pagetitle = $text2; 
}else{
$pagetitle = $maini;
}

?>
Return current item: Private Message System