Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // settings
- $host = '***';
- $user = '***';
- $password = '***';
- $db = '***';
- // connection
- $con = mysqli_connect($***,$***,$***,$***);
- // check connection
- if (mysqli_connect_errno()) {
- echo "Connect error";
- }
- // charset
- mysqli_query($con, "SET NAMES UTF8");
- // time zone
- mysqli_query($con, "SET time_zone = '+04:00'");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement