Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. <?php
  2. DEFINE ('DB_HOST', 'www.math-cs.ucmo.edu');
  3. DEFINE ('DB_USER', 'TeamMules1');
  4. DEFINE ('DB_PASSWORD', 'ThisIsYourPassword-1');
  5. DEFINE ('DB_NAME', 'TeamMules1');
  6. DEFINE ('DB_PORT', '3306');
  7.  
  8. // Make the connection:
  9. $dbc = @mysqli_connect (DB_HOST, DB_USER, DB_PASSWORD, DB_NAME, DB_PORT) OR die ('Could not connect to MySQL: ' . mysqli_connect_error() );
  10.  
  11. // Set the encoding...
  12. mysqli_set_charset($dbc, 'utf8');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement