<?php

/*
	In production I have a debug_backtrace here to prevent unauthorized
	files and functions from even being able to access this
	
	I do NOT, EVER store the values in variables or define anymore the
	risk of a code elevation using them is too high. SHAME we can't do
	anything about the various file read functions though. :(
*/

try {
	$db = new PDO(
		'mysql:host=localhost;dbname=myDB',
		'myUserName',
		'myPassword'
	);
} catch (PDOException $e) {
	die('Connection failed: ' . $e->getMessage());
}