ok
Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/public_html/vijay-gases/config/ |
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/public_html/vijay-gases/config/config.php |
<?php ini_set('error_reporting', E_ALL); date_default_timezone_set('Asia/Kolkata'); $dbhost = 'localhost'; $dbname = 'selectio_vijay_gas'; $dbuser = 'selectio_vijay_gas'; $dbpass = 'selectio_vijay_gas'; 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(); header("location: db-connection-error.php"); }