Guest User

Untitled

a guest
Jul 18th, 2018
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <?php
  2.  
  3. $SERVER = '';
  4. $USER = '';
  5. $PASS = '';
  6. $DATABASE = '';
  7.  
  8.  
  9. if (!($mylink = mysql_connect( $SERVER, $USER, $PASS))){
  10. echo "<h3>Sorry, could not connect to database.</h3><br/>
  11. Please contact your system's admin for more help\n";
  12. exit;
  13. }
  14.  
  15. mysql_select_db( $DATABASE );
  16.  
  17. ?>
Add Comment
Please, Sign In to add comment