PHP Classes

File: configuration.php

Recommend this page to a friend!
  Classes of John Paul de Guzman  >  Class Generator  >  configuration.php  >  Download  
File: configuration.php
Role: Application script
Content type: text/plain
Description: Database Configuration
Class: Class Generator
Generate classes to access MySQL database tables
Author: By
Last change: Modifications by Marley Adriano de Souza Silva <>
Added dynamic configuration for the database. You don't have to modify the configuration to change the database to be generated. Modifications includes switching from one database to another.
Date: 15 years ago
Size: 392 bytes


Class file image Download
// include files
include 'core_classes/core.dbfunctions.php';

// default database
$dbName = $_POST['db_name'];
$dbName = 'mysql';

// Database Configuration
$dbConn = new DbConnection();
$dbConn->useManualDefinition("localhost", $dbName, "root", "");


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