Şuanki Dizin: /home/wwwdreamtechnolo/public_html/bprisk.online/strongergenadmin/api/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/bprisk.online/strongergenadmin/api/forgot-password.php |
<?php require_once("../lib/function.php"); $db = new login_function(); $flag = 0; $response = array(); $flag = 0; $primary_contact= ""; $password = ""; if(isset($_POST['mobile_number'])) { $primary_contact = $_POST['mobile_number']; $result_password = $db->get_customer_password_from_mobile_number($primary_contact); if($result_password=="") { $response["status"] = 0; $response["message"] = "No User Found"; } else { //Send Message $user_message = "*StrongerGen* \n Your Password Is ".$result_password; $url = "http://wapi.tagdigitalsolutions.com/wapp/api/send?apikey=331efa82a0c446aa877783a28078e143&mobile=$primary_contact&msg=".urlencode($user_message); file_get_contents($url); $response["status"] = "1"; $response["message"] = 'Your password sent to registered mobile number'; } } else { $response["status"] = 0; $response["message"] = "No Key Found"; } echo json_encode($response); ?>
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