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(); }
//new pdo
//$dbh = new PDO("mysql:host=localhost;dbname=ergofito", "admin", "PHac7dru"); $dbh = new PDO("mysql:host=192.168.155.13;dbname=ergofito", "admin", "PHac7dru");
$dbh->exec("set names utf8");
date_default_timezone_set("Asia/Hong_Kong");
$nowdate = date("Y-m-d H:i:s");
$langcode = "en"; //error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); error_reporting(E_ALL); ini_set('display_errors', 1); include_once ('common_function.php');
?>
|