Location: PHPKode > projects > ZAPms > zap/include/in.php
<?php
date_default_timezone_set('Europe/Berlin');

$db_link = @mysql_connect(DB_HOSTNAME, DB_USER, DB_PASSWORD) or die('Could not connect, EERORNO:'.mysql_errno());
$db_entity = @mysql_select_db(DB_NAME);

if (!$db_entity)
	die('Could not select database, EERORNO:'.mysql_errno());
else {
	mysql_query("SET CHARACTER SET 'utf8'");
	mysql_query("SET NAMES 'utf8'");
	mysql_query("SET @@collation_connection = @@collation_database");
}

?>
Return current item: ZAPms