<?php /*==================================================================================================== ====================================================================================================== The Dictionary Maker (TDM) is released under the GNU General Public License (GPL), which is an open-source license that means anyone is free to use, modify, and redistribute it, with a few restrictions. That means that the following text should be included as a comment at the top of every source file: ======================================================================== Copyright Daniel Herman 2002 This file is part of TDM. TDM 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. TDM 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 Beehive; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ======================================================================== ============================================================================================*/ //================================================================== //=============MAIN CONFIG - DO NOT DELETE ANY VARS================= //================================================================== // The name of your dictionary $dict_name = "The Forum Dictionary"; // The admin e-mail $admin_mail = "hide@address.com"; // The location of your Database - usually localhost $dbServer = "localhost"; // The database username $dbUserName = ""; // The database password $dbPassword = ""; // The database name $dbDatabase = ""; // Maximum number of words to show on a page $max_results = "20"; // The database TABLE $table_name ="dict"; // The admin table name $table_name_admin ="admin"; // The members table $table_name_memb = "memb"; // TEMP members table $table_name_memb_temp = "memb_temp"; // The address to you website (eg http://www.mywebsite.com/dictionary) - note no trailing slash! $link = "http://www.hermand.co.uk/dict"; //================================================================== //==============DO NOT MESS BELOW HERE============================== //================================================================== // Connect to the database. $db = mysql_connect($dbServer, $dbUserName, $dbPassword) or die(mysql_error()); mysql_select_db($dbDatabase, $db) or die(mysql_error()); ?>