ok

Mini Shell

Direktori : /home2/selectio/public_html/tnpsctestbatch.com/admin/old/config/
Upload File :
Current File : /home2/selectio/public_html/tnpsctestbatch.com/admin/old/config/config.php

<?php
ini_set('error_reporting', E_ALL);

date_default_timezone_set('Asia/Kolkata');
$dbhost = 'localhost';
$dbname = 'ssarchit_exam_preppers';
$dbuser = 'ssarchit_exam_preppers';
$dbpass = 'ssarchit_exam_preppers';
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");
}

Zerion Mini Shell 1.0