ok
Direktori : /home2/selectio/www/gangabuvana/gbhomestay-old/ |
Current File : //home2/selectio/www/gangabuvana/gbhomestay-old/config.php |
<?php ini_set('error_reporting', E_ALL); date_default_timezone_set('Asia/Kolkata'); $dbhost = 'localhost'; $dbname = 'romeojul_gbhomestay'; $dbuser = 'romeojul_gbhomestay'; $dbpass = 'gbhomestay@#$098'; try { $pdo = new PDO("mysql:host={$dbhost};dbname={$dbname}", $dbuser, $dbpass); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch( PDOException $exception ) { echo "Connection error :" . $exception->getMessage(); }