403Webshell
Server IP : 27.254.66.5  /  Your IP : 216.73.217.39
Web Server : Apache/2
System : Linux cs82.hostneverdie.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User : technic2 ( 1951)
PHP Version : 7.4.30
Disable Function : apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd,exec, fp, fput, highlight_file, ini_alter, ini_restore, inject_code, passthru,phpAds_remoteInfo, phpAds_XmlRpc,phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,posix_setuid, posix_setuid, posix_uname,proc_open,proc_close, proc_get_status, proc_nice, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, show_source,sleep,pcntl_exec,virtual,suexec,dbmopen,dl,symlink,disk_free_space,diskfreespace,leak
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/technic2/domains/technicrayong.ac.th/public_html/rytc/pta/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/technic2/domains/technicrayong.ac.th/public_html/rytc/pta//edit_data.php
<?php
@include('condb.php');
$p_id = $_REQUEST["id"];
$sql = "SELECT * FROM pta_parent WHERE p_id = $p_id"; 
$result = $conn->query($sql);
if ($result->num_rows > 0) {
    while ($row = $result->fetch_assoc()) {
        $p_prefix = $row['p_prefix'];
        $p_name = $row['p_name'];
        $p_home = $row['p_home'];
        $p_moo = $row['p_moo'];
        $p_soi = $row['p_soi'];
        $p_road = $row['p_road'];
        $p_tambol = $row['p_tambol'];
        $p_district = $row['p_district'];
        $p_province = $row['p_province'];
        $p_postal = $row['p_postal'];
        $p_work = $row['p_work'];
        $p_phone = $row['p_phone'];
    }
}
?>
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>แก้ไขข้อมูลผู้ปกครอง</title>
    <link rel="stylesheet" href="css/insert.css">
    <!-- Favicons -->
    <link href="img/logo.png" rel="icon">
    <link href="img/logo.png" rel="apple-touch-icon">
</head>
<body>
    <header>
        <?php @include('nav.php');?>
    </header>
    <div class="container">
        <h1>แก้ไขข้อมูลผู้ปกครอง</h1>
        <hr>
        <form action="check_edit_data.php" method="post">
            <label for="prefix">คำนำหน้า <font  class="red-star">*</font></label>
            <select id="prefix" name="prefix" required>
                <option value="<?=$p_prefix;?>"><?=$p_prefix;?></option>
                <option value="นาย">นาย</option>
                <option value="นาง">นาง</option>
                <option value="นางสาว">นางสาว</option>
            </select>
            <label for="name">ชื่อ-นามสกุล <font  class="red-star">*</font></label>
            <input type="text" id="name" name="name" value="<?=$p_name;?>" required>
            <hr>
            <label for="address">ที่อยู่ปัจจุบัน</label>
            <label for="home">บ้านเลขที่ <font  class="red-star">*</font></label>
            <input type="text" id="home" name="home" value="<?=$p_home;?>" required>
            <label for="moo">หมู่ที่</label>
            <input type="text" id="moo" name="moo" value="<?=$p_moo;?>">
            <label for="soi">ซอย</label>
            <input type="text" id="soi" name="soi" value="<?=$p_soi;?>">
            <label for="road">ถนน</label>
            <input type="text" id="road" name="road" value="<?=$p_road;?>">
            <label for="tambol">ตำบล <font  class="red-star">*</font></label>
            <input type="text" id="tambol" name="tambol" value="<?=$p_road;?>" required>
            <label for="district">อำเภอ <font  class="red-star">*</font></label>
            <input type="text" id="district" name="district" value="<?=$p_district;?>" required>
            <label for="province">จังหวัด <font  class="red-star">*</font></label>
            <input type="text" id="province" name="province" value="<?=$p_province;?>" required>
            <label for="postal">รหัสไปรษณีย์ <font  class="red-star">*</font></label>
            <input type="text" id="postal" name="postal" value="<?=$p_postal;?>" maxlength="5" required>

            <label for="work">สถานที่ทำงาน <font  class="red-star">*</font></label>
            <input type="tel" id="work" name="work" value="<?=$p_work;?>" required>

            <label for="phone">เบอร์โทรศัพท์ <font  class="red-star">*</font></label>
            <input type="tel" id="phone" name="phone" value="<?=$p_phone;?>" maxlength="10" required>
            <input type="hidden" id="p_id" name="p_id" value="<?=$p_id;?>">
            <hr>
            <button type="submit">บันทึกข้อมูล</button>
        </form>
    </div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit