SCDNG PELER
Server IP : 144.76.124.212  /  Your IP : 216.73.216.138
Web Server : LiteSpeed
System : Linux l4cp.vnetindia.com 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : rakcha ( 1356)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home5/rakcha/public_html/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home5/rakcha/public_html/app/forgot.php
<?php error_reporting(0); ?>

<?php session_start(); ?>

<?php 

include("includes/database.php");

?>

<!DOCTYPE html>

<html lang="en">



<head>

  <meta charset="UTF-8">

  <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">

  <title>RAKCHABLOOMING</title>

  <!-- General CSS Files -->

  <link rel="stylesheet" href="assets/css/app.min.css">

  <link rel="stylesheet" href="assets/bundles/bootstrap-social/bootstrap-social.css">

  <!-- Template CSS -->

  <link rel="stylesheet" href="assets/css/style.css">

  <link rel="stylesheet" href="assets/css/components.css">

  <!-- Custom style CSS -->

  <link rel="stylesheet" href="assets/css/custom.css">

  <link rel='shortcut icon' type='image/x-icon' href='assets/img/favicon.ico' />

</head>



<body style="background-image: url(img/bg.jpg);background-size: cover;background-position: right;">

  <div class="loader"></div>

  <div id="app">

    <section class="section">

      <div class="container mt-5">

        <div class="row">

          <div class="col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4">

            <div class="card card-primary" style="background-color: rgba(0,0,0,0.5);">

              <div class="card-header">

                <h4 style="color: #fff;">Forgot Password?</h4>

              </div>

              <div class="card-body" style="background-color: rgba(0,0,0,0.5);">

                <form method="POST" action="forgot.php">

                  <div class="form-group">

                    <label for="email" style="color: #fff;">Consultant ID *</label>

                    <input id="email" type="text" class="form-control" name="user_id" required placeholder="Consultant ID *" style="background-color: transparent;color: #fff;">

                    

                  </div>

                  

                  

                  <div class="form-group">

                    <button type="submit" name="login" class="btn btn-primary" style="background-color: transparent;border: 1px solid #fff !important;color: #fff;">

                      Submit

                    </button>

                    <br><br>

                    <div class="float-right">

                        <a href="login.php" class="text-small" style="color: #fff;">

                          Login Now

                        </a>

                      </div>

                  </div>

                </form>

                 

                

              </div>

            </div>

             

          </div>

        </div>

      </div>

    </section>

  </div>

  <!-- General JS Scripts -->

  <script src="assets/js/app.min.js"></script>

  <!-- JS Libraies -->

  <!-- Page Specific JS File -->

  <!-- Template JS File -->

  <script src="assets/js/scripts.js"></script>

  <!-- Custom JS File -->

  <script src="assets/js/custom.js"></script>

</body>



</html>



<?php 

           if (isset($_POST['login'])) {

            $user_id = $_POST['user_id'];

            $select_query_direct_level_3 = "select * from member where user_id = '$user_id'";

             $run_direct_level_3 = mysqli_query($con,$select_query_direct_level_3);

             $user_direct_level_3 = mysqli_num_rows($run_direct_level_3);



            if ($user_direct_level_3 > 0) {



            $select_query_direct_level_1 = "select * from member where user_id = '$user_id'";

             $run_direct_level_1 = mysqli_query($con,$select_query_direct_level_1);

             $user_direct_level_1 = mysqli_num_rows($run_direct_level_1);                                 

             while ($row_direct_level_1 = mysqli_fetch_array($run_direct_level_1)) {

              $name = $row_direct_level_1['name'];

              $user_id = $row_direct_level_1['user_id'];

              $mobile_number = $row_direct_level_1['mobile_number'];

              $password = $row_direct_level_1['password'];

              

              }

              

              

              $message = "Your Login User ID : ".$user_id." & Password :".$password.". Website: www.rakcha.in";



             

           $message = urlencode($message);

                        $url = 'http://sms.messageindia.in/sendSMS?username=th&message='.$message.'&sendername=RAKCHA&smstype=TRANS&numbers='.$mobile_number.'&apikey=25679508-87af-4b55-bb22-873e006ef48a';

                        $xml = file_get_contents($url);



            echo $xml;



                 

                //end





            echo "<script>alert('Your User Id Password Send Your Registered Mobile Number...')</script>";

            echo "<script>window.open('login.php','_self')</script>";

        }

        else {

           echo "<script>alert(' User ID Does'nt Exist...')</script>";

           echo "<script>window.open('forgot.php','_self')</script>"; 

        }

    }

 ?>

Anon7 - 2022
SCDN GOK