Location: PHPKode > projects > PHP File Database > fdat/settings.php
<?php
/*
###############################################################################
# settings.php                                                                #
###############################################################################
# FDat (File Database) Beta Version                                          #
# Open-Source Project by Jeffrey Gelens (hide@address.com)                  #
# =========================================================================== #
# Copyright (c) 2001 Jeffrey Gelens - All Rights Reserved                     #
#                                                                             #
# 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.                      #
###############################################################################
*/

// General
$session_time = 60; // The time someone can be logged in (in minutes);
$admin_mail = "hide@address.com"; // Email address of administrator.

// Directories
$fdathostdir = "/var/www/html/fdat/files"; // Files dir on the server (without trailing '/').
$fdatdir = "http://yourdomain.com/fdat"; // Root dir of FDat (without trailing '/').
$icondir = $fdatdir . "/images/icons"; // Icon dir (without trailing '/').
$cookiename = "FDat"; // You can leave this as it is (change only if you know what you do).
$cookiepath = "/"; // You can leave this as it is (change only if you know what you do).

// MySQL DataBase Settings
$database['host'] =  "localhost";  // Location of the MySQL Database (include port)
$database['username'] = "root"; // Username to access the database.
$database['password'] = ""; // Password to access the database (fill in only when needed).
$database['name'] = "fdat"; // Database name.

// Cosmetic Settings
$table_bgcolor = "#050561";
$table_bordercolor = "#000099";
$cell_bgcolor = "#000099";
$cell_bordercolor = "#330033";

$title = "FDat Beta Version"; // Appears in title bar of your browser
$bgcolor = "#0fa8f4";
$textcolor = "#41f2ff";
$linkcolor = "#05eeff";
$alinkcolor = "#05eeff";
$vlinkcolor = "#05eeff";

$fontface = "Verdana,Arial,Times"; // Temporary not used
$fontsize = "1";
$fontcolor = "#0AEA98";

// Don't change anything below this line.
$session_time = time() - ($session_time * 60);
error_reporting (E_ALL & ~E_NOTICE & ~E_WARNING);
$koekje = $HTTP_COOKIE_VARS["FDat"];
?>
Return current item: PHP File Database