ok
Direktori : /proc/self/root/home2/selectio/www/y1jobportal.in/apps-api/config/ |
Current File : //proc/self/root/home2/selectio/www/y1jobportal.in/apps-api/config/config.php |
<?php ini_set('error_reporting', E_ALL); date_default_timezone_set('Asia/Kolkata'); $dbhost = 'localhost'; $dbname = 'selectio_y1_jobportal'; $dbuser = 'selectio_y1_jobportal'; $dbpass = 'y1_jobportal'; try { $pdo = new PDO("mysql:host={$dbhost};dbname={$dbname}", $dbuser, $dbpass); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $con = mysqli_connect($dbhost,$dbuser,$dbpass,$dbname); $conn = mysqli_connect($dbhost,$dbuser,$dbpass,$dbname); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $site_url="https://y1jobportal.in/admin/"; } catch( PDOException $exception ) { echo "Connection error :" . $exception->getMessage(); }