403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/training/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/training/edittt.php
<html>
        <?php require"header.php" ?>
<body>

<?php require"navbar.php" ?>

<form name="frmSearch" method="post" action="<?php echo $_SERVER['SCRIPT_NAME'];?>">


<div class="container">

<!-- <table class="table table-bordered">
  <thead>
    <tr>
      <th> --><br><center>
	  <h3>แก้ไขรายชื่อ</h3></><br>

	  <?
// เชื่่อมต่อฐานข้อมูล
$host="localhost"; // กำหนด host
$username="root"; // กำหนด username
$pass_word="P@ssw0rdMySQL0"; // กำหนด Password
$db="quiz"; // กำหนดชื่อฐานข้อมูล
$Conn = mysql_connect( $host,$username,$pass_word) or die ("ติดต่อฐานข้อมูลไม่ได้");// ติดต่อฐานข้อมูล
mysql_query("SET NAMES utf8",$Conn); // set กำหนดมาตราฐาน
mysql_select_db($db) or die("เลือกฐานข้อมูลไม่ได้"); // เลือกฐานข้อมูล


//เรียกข้อมูลจาก รหัส มาแสดงใน textbox
if($_REQUEST['id'] != "")
{
$id = $_REQUEST['id'];
$sql_show = "select * from quiz_pass where id = '$id'";
$result_show = mysql_query($sql_show) or die(mysql_error());
$row_show = mysql_fetch_array($result_show);
}
//--->
?>



<form id="form1" name="form1" method="post" action="editttt.php">
ชื่อ
<input name="name" type="text" id="name" value="<?=$row_show['name']?>" />
<br />
<br />
อีเมล์
<input name="email" type="text" id="email" value="<?=$row_show['email']?>" />
<br />
<br />
เบอร์โทร
<input name="tel" type="text" id="tel" value="<?=$row_show['tel']?>" /> <br><br>
<input type="submit" name="Add" id="Add" value="Edit" />
<input name="id" type="hidden" id="id" value="<?=$_REQUEST['id']?>" />

<a href="editt.php">กลับ</a>
</form>

</div>

  <?php require"footer.php" ?>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit