| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/innoutstorage/webadmin/ |
Upload File : |
<?php
if (session_id() === "") {
session_start();
}
//new pdo
define("PRODUCTION", 0);
if(PRODUCTION == 1){
$dbh = new PDO("mysql:host=localhost;dbname=innoutst01", "innoutst", "9ETms3@");
$google_recaptcha_site_key = "6LdDbQ8TAAAAAGYCEki0cPyh4USJ2_qj-7sQbfhz";
$google_recaptcha_secret_key = "6LdDbQ8TAAAAAHfpbDwacLr362pEk-sVWr0RAz6J";
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
ini_set('display_errors', 0);
}else{
$dbh = new PDO("mysql:host=192.168.171.21;dbname=dev_innout", "dev_innout", "9ETms3@");
$google_recaptcha_site_key = "6LelWQ8TAAAAAPxA3Y1rFZZgkBdf9q_Bvvzl-Dcw";
$google_recaptcha_secret_key = "6LelWQ8TAAAAAMbupbh73-Y8WoPOn0OAPAreAj2n";
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
ini_set('display_errors', 1);
}
$dbh->exec("set names utf8");
date_default_timezone_set("Asia/Hong_Kong");
$nowdate = date("Y-m-d H:i:s");
ini_set('session.cookie_httponly', 1);
header("Content-Type:text/html; charset=utf-8");
header("x-frame-options:SAMEORIGIN");
set_time_limit(5 * 60);