1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php if (session_id() === "") { session_start(); }
// error_reporting(E_ERROR | E_WARNING | E_PARSE ^ E_NOTICE); //error_reporting(E_ERROR); // ini_set('display_errors', 1);
ini_set('session.cookie_httponly', 1);
header("Content-Type:text/html; charset=utf-8"); // header("x-frame-options:SAMEORIGIN");
//new pdo $dbh = new PDO("mysql:host=192.168.171.23;dbname=tracking", "admin", "PHac7dru"); $dbh->exec("set names utf8");
date_default_timezone_set("Asia/Hong_Kong");
require_once "_functions.php";
|