Location: PHPKode > projects > Backlink Generate and Submit PHP Script > database.php
<?php
/*******************************************************************************
*  Title: Backlinks Generation and Submission Free PHP Script - Database Details
*  Version: 0.1 @ Feb 10, 2011
*  Author: Hrishikesh Joshi
*  Website: http://www.wallads.info
*  Demo Website:  http://demo.wallads.info
********************************************************************************
*  COPYRIGHT NOTICE
*  Copyright 2011 Hrishikesh Joshi. All Rights Reserved.
*
*  This script may be used and modified free of charge by anyone
*  AS LONG AS COPYRIGHT NOTICES AND ALL THE COMMENTS REMAIN INTACT.
*  By using this code you agree to indemnify Hrishikesh Joshi from any
*  liability that might arise from its use.
*
*  Selling the code for this program, in part or full, without prior
*  written consent is expressly forbidden.
*
*  Obtain permission before redistributing this software over the Internet
*  or in any other medium. In all cases copyright and header must remain
*  intact. This Copyright is in full effect in any country that has
*  International Trade Agreements with the United States of America or
*  with the European Union and with the India.
*******************************************************************************/



/**************************  Database Details  ********************************/


$mysql_host = "localhost";			// Your Database Hostname OR URL
$mysql_database = "my_database";	// Database Name
$mysql_user = "db_user";			// Database Username
$mysql_password = "db_passwd";		// Database Password

if(!mysql_connect($mysql_host,$mysql_user,$mysql_password))
{
die('Could not connect to Database. Please refresh the page or try after some time.');
}
mysql_select_db($mysql_database);
?>
Return current item: Backlink Generate and Submit PHP Script