Location: PHPKode > projects > quickjournal > quickjournal/config.php
<?php

#database connection details
$sql_host="localhost";    # The host name of the mysql database
$sql_username="root";     # The username for the connection to the database
$sql_password="";         # The database password on localhost
$sql_db="quickjournal";      # The database name

#Make the sql connection.
$db = mysql_pconnect($sql_host,$sql_username,$sql_password);

#Select the database
mysql_select_db($sql_db,$db);

#login information for users that can post entries as an array ("username"=>"password")
$allowed = array("michael"=>"phpdevshed","guest"=>"demo");

#if you wish to enable HTML set this to 1 else 0
$allowhtml = 0;

#if you want people to be able to post notes only in the current date (today) set to 1 else 0 - setting to 0 means users are able to post notes on any date
$todayonly = 0;

##### please do not edit below this line #####

$appname = "my quickjournal";
$appversion = "1.0";
$cright = "<!-- my quickjournal provided free under GPL by michael gbadebo @ phpdevshed.com -->";

?>
Return current item: quickjournal