Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.221.254.61
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/opdtestfinal.php
<?php
session_start();
include("dbconnection.php");
require_once('../DBManager.php');
require_once("../LoginManager.php");
require_once('../patientmanager.php');
if($_POST)
{
PatientManager::Medicine("$_GET[prescriptionid]","$_GET[patientid]","$_POST[DRUGS]","$_POST[Dose]","$_POST[Route]","$_POST[Frequency]","$_POST[duration]","$_POST[durationselect]","$_POST[potential]","$_POST[poa]","$_POST[status]","$_POST[Action]","$_POST[availability]","$_POST[entered_by]");
}
	?>

<!DOCTYPE html>

<html>

<head>

<title>PHP Forms Submit without Page Refresh using jQuery and Ajax</title>

<script type="text/javascript" src="js_code.js"></script>
<script type="text/javascript">
$(document).ready(function()
{	
	$(document).on('submit', '#registration_Form', function()
	{		
		var data = $(this).serialize();
		$.ajax({
		type : 'POST',
		url  : 'opdtestfinal.php',
		data : data,
		success :  function(data)
				   {						
						$("#registration_Form").fadeOut(500).hide(function()
						{
							$(".result_1").fadeIn(500).show(function()
							{
								$(".result_1").html(data);
							});
						});
						
				   }
		});
		return false;
	});
});
</script>

<style type="text/css">
#container
{
	margin:50px auto;
	padding:15px;
	border:solid blue 1px;
	width:700px;
	background:azure;
}
label {
	font-family:cursive;
	font-size:20px;
	font-weight:bold;
	color:blue;
}
table
{
	margin:auto;
	width:80%;
	border-collapse:collapse;
	padding:10px;
	text-align:center;
	border:solid blue 1px;
}
td {
	padding:15px;
}
input
{
	height:35px;
	width:250px;
	text-align:center;
	border:solid blue 2px;
	font-family:Verdana, Geneva, sans-serif;
	border-radius:3px;
	font-size:18px;
	font-family:cursive;
}
button
{
	text-align:center;
	width:50%;
	height:35px;
	border:0;
	font-family:Verdana, Geneva, sans-serif;
	border-radius:3px;
	background:#00a2d1;
	color:#fff;
	font-weight:bolder;
	font-size:18px;
	cursor:pointer;
}
hr
{
	border:solid #cecece 1px;
}
#header
{
	width:100%;
	height:50px;
	background:#00a2d1;
	text-align:center;
}
#header label
{
	font-family:Verdana, Geneva, sans-serif;
	font-size:35px;
	color:#f9f9f9;
}
a{
	color:#00a2d1;
	text-decoration:none;
}
</style>
</head>

<body>


<div id="container">
	<div id="form" class="result_1">
    	<form method="post" id="registration_Form">
			<table border="1">
				<tr>
					<td><label>First Name</label></td>
					<td><input type="text" name="DRUGS" id="DRUGS" placeholder="Enter your First Name" autofocus="autofocus"/></td>
				</tr>
				<tr>
					<td><label>Last Name</label></td>
					<td><input type="text" name="last_name" id="last_name" placeholder="Enter your Last Name" /></td>
				</tr>
				<tr>
					<td><label>User Name</label></td>
					<td><input type="text" name="user_name" id="user_name" placeholder="Enter your User Name" /></td>
				</tr>
				<tr>
					<td><label>Password</label></td>
					<td><input type="text" name="password" id="password" placeholder="Enter your Password" /></td>
				</tr>
				<tr>
					<td><label>Email</label></td>
					<td><input type="text" name="email" id="email" placeholder="Enter your Email" /></td>
				</tr>
				<tr>
					<td colspan="2"><button type="submit">Register</button></td>
				</tr>
			</table>
        </form>
    </div>
</div>

</body>

</html>

Anon7 - 2022
AnonSec Team