Last active
December 12, 2015 02:38
-
-
Save maclochlainn/4699803 to your computer and use it in GitHub Desktop.
This is a standard credentials.inc file, which allows you to place your connection variables in a single location and refer to them by the global variable names.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Program name: credentials.inc | |
// MySQL Connection variables. | |
define('HOSTNAME',"localhost"); | |
define('USERNAME',"student"); | |
define('PASSWORD',"student"); | |
define('DATABASE',"studentdb"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment