Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <?php
  2. /*
  3.  
  4. Connection PHP file! Edit this to properly connect to your MySQL!
  5.  
  6.  
  7.  
  8. Copyright © 2011, 2012 Quin Schurman
  9.  
  10. This program is free software: you can redistribute it and/or modify
  11. it under the terms of the GNU General Public License as published by
  12. the Free Software Foundation, either version 3 of the License, or
  13. (at your option) any later version.
  14.  
  15. This program is distributed in the hope that it will be useful,
  16. but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. GNU General Public License for more details.
  19.  
  20. You should have received a copy of the GNU General Public License
  21. along with this program. If not, see http://www.gnu.org/licenses/.
  22. */
  23.  
  24. $_Host = "43.225.188.185";
  25. $_User = "capeddb";
  26. $_Pass = "capeddb6688";
  27.  
  28. $_Database = "capeddb6688";
  29.  
  30. $_UsersTable = "accounts"
  31.  
  32. //Connect to MySQL using mysql_connect()
  33. $_Connection = mysql_connect($_Host, $_User, $_Pass) or die('Could not connect to $_Host with $_User using password $_Pass');
  34.  
  35. //Select the database defined in $_Database.
  36. mysql_select_db($_Database);
  37.  
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement