MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/pathumthani_vc/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_vc/inc/config_epm.inc.php
<?
include_once "conndb.inc.php";

$logintable = "login";
$officetable = "office_detail";
/*
////////////////////////////////////////////////////////////////
$host = "localhost"  ;
$username = "webmaster"  ;
$password = "office!sprd"  ;
$link1 =MYSQL_CONNECT($host, $username, $password) ;
if (!$link1) {
   DIE(mysql_error() ."Unable to connect to HOST  $host");
}
////////////////////////////////////////////////////////////////
*/
$dbname = "epm";
mysql_select_db($dbname) or die("cannot select database $dbname");;


//check admin
if ($_SESSION[session_depusername] == "infoadmin") $isAdmin = true; else $isAdmin = false;
if ($_SESSION[session_depusername] == "infoadmin") $isFinance = true; else $isFinance = false;

?>

Anon7 - 2021