Mini Shell
<?php
include("../config.php");
$conn = dbconnect();
error_reporting(0);
date_default_timezone_set('Asia/Kolkata');
$today = date( 'Y-m-d H:i:s');
$user_id = $_POST['user_id'];
$user_name = $_POST['user_name'];
$user_gender = $_POST['user_gender'];
$user_position = $_POST['user_position'];
$username = $_POST['username'];
$user_phone = $_POST['user_phone'];
$user_password = $_POST['user_password'];
$status = $_POST['status'];
$sql = "INSERT INTO tb1_admin(name,dob,phone,gender,position,user_name,password,status,created_log,updated_log) VALUES ('$user_name','','$user_phone','$user_gender','$user_position','$username','$user_password','$status','$today','$today')";
$content_res = mysqli_query($conn, $sql);
$code = 'done';
echo $data = json_encode($code);
?>
Zerion Mini Shell 1.0