UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
stmedicosoftware
/
prescription
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
get_lastrx.php
<?php require_once "../config.php"; $uhid= $_POST['uhid']; $opdno= ""; $query = "select visitid from prescriptiontb where uhid='".$uhid."' order by creationdatetime desc LIMIT 1"; $result = mysqli_query($conn, $query); $row = mysqli_fetch_assoc($result); $opdno=$row["visitid"]; if($opdno=="") { return; } $query = "select * from prescriptiontb where visitid='".$opdno."' "; $result = mysqli_query($conn, $query); while ($row=mysqli_fetch_array($result)) { $res[] = array( 'type' => $row['type'], 'medicine' => $row['medicine'], 'dosage' => $row['dosage'], 'dosageremark' => $row['dosageremark'], 'timing' => $row['timing'], 'frequency' => $row['frequency'], 'duration' => $row['duration'], 'notes' => $row['notes'], 'vid' => $opdno, ); } echo json_encode($res); ?>
Copyright © 2025 - UnknownSec