SHARE
TWEET

connect.php

a guest May 31st, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $host = '***';
  3. $database = '***';
  4. $user = '***';
  5. $pass = '***';
  6. $mysqli = new mysqli($host, $user, $pass, $database);  
  7. $mysqli->set_charset("utf8");
  8. if (mysqli_connect_errno()) {
  9. printf("Ошибка соединения: %s\n", mysqli_connect_error());
  10. exit();
  11. }
  12.  
  13.  
  14.  
  15. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top