PHP Classes

File: conf/config.php

Recommend this page to a friend!
  Classes of Nicholas Oliveira   Cyber MySQL   conf/config.php   Download  
File: conf/config.php
Role: Configuration script
Content type: text/plain
Description: config file (necessary file)
Class: Cyber MySQL
Execute MySQL queries using lists of arguments
Author: By
Last change:
Date: 14 years ago
Size: 425 bytes
 

Contents

Class file image Download
<?



define
(_SQL_PATH_, "");
define(_SQL_LANG_, "pt");

$config['hostname'] = "localhost";
$config['username'] = "yourlogin";
$config['password'] = "yourpassword";
$config['table'] = "yourtable";
$config['Debug'] = false;

   
    if(!
mysql_connect($config['hostname'], $config['username'], $config['password'])){
       
        echo
"banco de dados nao encontrado";
       
    }
   
   
mysql_select_db($config['table']);


?>