<?
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']);
?>
|