File: config.php

Recommend this page to a friend!
  Classes of Bharat Parmar  >  Advertisement Banner Module  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration File
Class: Advertisement Banner Module
Manage and display advertisement banners in MySQL
Author: By
Last change:
Date: 5 years ago
Size: 505 bytes
 

Contents

Class file image Download
<?php
@session_start();

//DATABASE DETAILS
//SET HOSTNAME
$hostname = "localhost";

//MYSQL USERNAME
$db_username ="root";

//MYSQL PASSWORD
$db_password="";

//MYSQL DATABASE NAME
$database="bharat_advertisement";

//DATABASE CONNECTION
mysql_connect($hostname,$db_username,$db_password) or die("Failed To Connect the Database.");
mysql_select_db($database) or die("Failed to Select Database");

unset(
$hostname);
unset(
$db_username);
unset(
$db_password);
unset(
$database);
?>


For more information send a message to info at phpclasses dot org.