Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $title = "MCTop";
- $description = "The site to find your popular SMP needs!";
- $mysql_host = "localhost";
- $mysql_database = "stonedms_toplist";
- $mysql_user = "stonedms_justin";
- $mysql_password = "******hidden******";
- $port = "3306";
- $dsn = "mysql:host=$mysql_host;port=$port;dbname=$mysql_database;";
- try{
- $db = new PDO($dsn, $mysql_user, $mysql_password);
- } catch (PDOException $e){
- //do something here.. maybe die();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement