File "config.php"

Full path: /home/julaysp1/public_html/includes/config.php
File size: 392 B (392 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php 
define('DB_HOST','localhost');
define('DB_USER','julaysp1_new_site');
define('DB_PASS','[%xZ+Gh$&;(-');
define('DB_NAME','julaysp1_new_site');

// Establish database connection.
try
{
$dbh = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME,DB_USER, DB_PASS,array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'"));
}
catch (PDOException $e)
{
exit("Error: " . $e->getMessage());
}
?>