すくすくゴートうちゃんのサーヴァ(黒歴史)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

db_connection.php 412 B

1 year ago
1 year ago
12345678910111213141516171819
  1. <?php
  2. $config = include ('./config.php');
  3. $db_host = $config['host'];
  4. $db_port = $config['port'];
  5. $db_user = $config['user'];
  6. $db_pass = $config['pass'];
  7. $__db_connection = new mysqli ($db_host, $db_user, $db_pass, 'goatoh_training',
  8. $db_port);
  9. $__db_connection -> set_charset ('utf8');
  10. unset ($config);
  11. unset ($db_host);
  12. unset ($db_port);
  13. unset ($db_user);
  14. unset ($db_pass);