<?php
	$host = 'localhost'; $dbname = 'vdacocmz_schdb_coll'; $user = 'vdacocmz_mendohz'; $pass = '@Dei22*#';
	
	# connect to the database 
	try { 
	  $DBH = new PDO("mysql:host=$host;dbname=$dbname", $user, $pass); 
	  $DBH->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );  # set error attribute
	} 
	catch(PDOException $e) { 
		echo "A Database Error Occurred, Please Contact Your System Administrator"; 
		file_put_contents('PDOErrors.txt', $e->getMessage(), FILE_APPEND); # Errors Log File
	}
?>