?? commanvar.php
字號:
<?php
session_start();
// Database Setup
$HOST="HOST NAME";
$PORT="PORT"; // Default is 1521
$USER_NAME="USERNAME";
$PASSWORD="PASSWORD";
$SERVICE_NAME="SCHEMA NAME"; //
define("ORCL_HOST",$HOST);
define("ORCL_USER_NAME",$USER_NAME);
define("ORCL_PASSWORD",$PASSWORD);
define("ORCL_SERVICE_NAME",$SERVICE_NAME);
/*
The Below Code is used to avoid the user to access the direct page
for eg. if you set $ref=on in your page then the page must have to referer from another other wise it comes error
suppose the page name is abc.php you set $ref=on for this page then it will not direct access it must have to be referer from another page
*/
$referer=@$_SERVER['HTTP_REFERER'];
if($ref=="on") {
if(empty($referer)) {
die("Sorry You come the Wrong Place");
}
}
// Error On
error_reporting(E_ALL);
@ini_set('display_errors', '1');
// End of Error
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -