1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php if (session_id() === "") { session_start(); }
//new pdo
$dbh = new PDO("mysql:host=192.168.155.13;dbname=onegolf", "admin", "PHac7dru");
$dbh->exec("set names utf8");
date_default_timezone_set("Asia/Hong_Kong");
$nowdate = date("Y-m-d H:i:s");
//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");
include_once("basic_info.php");
|