daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Jul 21st, 2017 148 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $host = "localhost";
  3. $name = "client";
  4. $user = "root";
  5. $pass = "";
  6. try {
  7.     $db = new PDO("mysql:host=$host;dbname=$name", "$user", "$pass");
  8.     $db->exec("SET NAMES utf8");
  9. } catch (Exception $e) {
  10.     die($e->getMessage());
  11. }
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