Guest User

Untitled

a guest
Dec 3rd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php
  2. $username = "admincastfish";
  3. $password = "SpaceBoy1!";
  4. $database = "adsfsdfsdfsd";
  5.  
  6. try {
  7. $dbh = new PDO("mysql:host=admincastfish.db.7953256.hostedresource.com;dbname=$database", $username, $password);
  8. } catch(PDOException $e) {
  9. die('Connection failed: ' . $e->getMessage());
  10. }
  11. ?>
Add Comment
Please, Sign In to add comment