Location: PHPKode > projects > PHP Simple FAQ > phpsimplefaq1.1beta/phpsimplefaq/config.inc.php
<?

// PHP Simple FAQ Config File v1.0

// 4.2.x workaround
if(phpversion() >= "4.2.0") 

	{
		extract($HTTP_POST_VARS);
		extract($HTTP_GET_VARS);	
	}


// Host settings

$mysql_serveradress		= "";							// Address MySQL Server is located
$mysql_username			= "";							// Username for your MySQL Server
$mysql_password			= "";							// Password for your MySQL Server
$absolute_url			= ""; 				 			// Required for cookies, ie.  www.yahoo.com, no trailing /'s please



// Database settings

$database_name			= "php_simplefaq";
$answer_table 			= "answers";
$category_table 		= "categories";
$faq_table				= "faqs";
$question_table			= "questions";
$user_table				= "users";


// Customization your PHP Simple FAQ

$main_title				= "PHP Simple FAQ";				// Title of your FAQ
$language				= "English";					// French, English, Italian, Portuguese, German
$font_face				= "Verdana, Arial, Helvetica, sans-serif";	
$font_size				= "2";							
$font_class				= "L12";	
$anon_user				= "Anonymous Coward";
$date 					= date("Y-m-d");
$admin_email			= "Yes";						// Sends admin an email for each new question and answer.


// Pick the language pack
if ($language == "English") 
		
		{ 	
			include "language/english.inc.php";
		
		} elseif  ($language == "French") {
			include "language/french.inc.php";
		
		} elseif  ($language == "Italian") {
			include "language/italian.inc.php";
		
		} elseif  ($language == "Portuguese") {
			include "language/portuguese.inc.php";
		
		} elseif  ($language == "German") {
			include "language/german.inc.php";
		
		} else {
			include "language/english.inc.php";
		}




// Make the MySQL connection

$connection = @mysql_connect("$mysql_serveradress","$mysql_username","$mysql_password");
$db = @mysql_select_db($datebase_name, $connection);

// Version of this installation

$phpsf_version = "1.1 Beta";

?>
Return current item: PHP Simple FAQ