File size: 831B
<?php
/*********************************************************************
*
* WapSite powered by CsC Portal. WapSite[tm] is module of CsC Portal.
*
* (C) 2004. CsC Portal. All rights reserved.
*
* http://cscp.cs-centar.net | http://www.cs-centar.net
*
********************************************************************/
// File: db_connect.php
// Desc: Use to connect with database
// Written on: 21.04.2004
include("wap_db.php");
define("HOST", "$db_host"); // define host name (default: localhost)
define("USER", "$db_username"); // define database username
define("PASSWORD", "$db_password"); // define database password
define("DATABASE", "$db_name"); // define database name
$db=mysql_connect(HOST, USER, PASSWORD); // connecting to the database
mysql_select_db(DATABASE, $db);
?>