'; echo 'SIG_DB_NAME: ' . getenv('SIG_DB_NAME') . '
'; echo 'SIG_DB_USER: ' . getenv('SIG_DB_USER') . '
'; echo 'SIG_DB_PASS: ' . getenv('SIG_DB_PASS') . '
'; $host = getenv('SIG_DB_HOST') ?: 'sql208.infinityfree.com'; $dbname = getenv('SIG_DB_NAME') ?: 'if0_42170546_sig_db'; $username = getenv('SIG_DB_USER') ?: 'if0_42170546'; $password = getenv('SIG_DB_PASS') ?: 'SABTU01012005'; try { $pdo = new PDO("mysql:host=$host;dbname=$dbname", $username, $password); echo 'KONEKSI: BERHASIL'; } catch(Exception $e) { echo 'KONEKSI: GAGAL - ' . $e->getMessage(); } ?>