Location: PHPKode > projects > Website SuperSearch > search_config_demo.php
<?php

// Website SuperSearch
// Copyright 2008 Luke Mounsey
// www.BibleSuperSearch.com
// 

// 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 included in the file 
// "license.txt" 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

// INSTALLATION INSTRUCTIONS
// 1. Edit this configuration file accordingly.
// 2. Rename this file to search_config.php
// 3. Upload the software to your website.
// 4. Link to "search_supersearch.php"
// 5. Start searching!


// This is the configuration file for Website SuperSearch

// MySQL LOGIN INFORMATION

// HOSTNAME
$host="localhost";
// USERNAME
$user="username";
// PASSWORD
$password="password";
// DATABASE NAME
$db="database";

// TABLE NAME
// Name of table in the database containing the content of the website.
$content_table="pw_articles";



// CONTENT LINK	
// page linked to to display content
// this is needed for the links given to the results.
// For example, if you link to your content like this
// 	http://mywebsite.com/articles.php?id=5
// You would enter
//	http://mywebsite.com/articles.php?

$content_link="../preservedword/article.php";

// CONTENT TABLE COLUMN NAMES
// Enter the names of the database table columns for the items below.

// this contains a unique identifying INTEGER number that you use to reference your content.
// IE http://mywebsite.com/articles.php?id=5
$content_id="id";

// this contains the TITLE of the article
$content_title="title";

// this column contains the SUBTITLE of the article
$content_subtitle="subtitle";

// this column contains the article TEXT 
$content_text="text";

// this column contains the DATE of the article
$content_date="date";


// SEARCH RESULTS SETTINGS
// maximum # of results
$max_verses="1000";

// number of results per page
$verses_per_page="10";


// META keywords
$content_keywords="keywords";
// META description
$content_description="description";

// Default language
// Currently only supports English
$default_language="en";

// do not change the interface, 
// there is only one interface functinal in WSS 0.3
$default_interface="user_friendly1";


?>
Return current item: Website SuperSearch