1234567891011121314 |
- <?php
- class Config {
- public static $sitename = "Tankernn.eu";
- public static $webmaster = "frans@tankernn.eu";
- //Database Settings
- public static $hostname = "localhost";
- public static $dbuser = "USER_HERE";
- public static $dbpass = "PASS_HERE";
- public static $dbname = "DB_NAME_HERE";
- }
- $conn = new mysqli(Config::$hostname, Config::$dbuser, Config::$dbpass, Config::$dbname) or die("Error " . $conn->error);
- ?>
|