Login   Register  
PHP Classes
elePHPant
Icontem

File: conf/config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2010-03-11 07:21
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']);


?>