alert("'.$response.'"); window.history.back(); '; }else if ( (isset($_POST['cid']) && $_POST['cid'] != '') && (isset($_POST['type']) && $_POST['type'] == 'second') ) { $cid = $_POST['cid']; $type = $_POST['type']; if ($_SERVER['HTTP_HOST'] == 'localhost') { $url = 'http://localhost/msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } else { $url = 'https://msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); echo ' '; } else if ( (isset($_POST['cid']) && $_POST['cid'] != '') && (isset($_POST['type']) && $_POST['type'] == 'third') ) { $cid = $_POST['cid']; $type = $_POST['type']; if ($_SERVER['HTTP_HOST'] == 'localhost') { $url = 'http://localhost/msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } else { $url = 'https://msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); echo ' '; } else if ( (isset($_POST['cid']) && $_POST['cid'] != '') && (isset($_POST['type']) && $_POST['type'] == 'fourth') ) { $cid = $_POST['cid']; $type = $_POST['type']; if ($_SERVER['HTTP_HOST'] == 'localhost') { $url = 'http://localhost/msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } else { $url = 'https://msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); echo ' '; } else if ( (isset($_POST['cid']) && $_POST['cid'] != '') && (isset($_POST['type']) && $_POST['type'] == 'final') ) { $cid = $_POST['cid']; $type = $_POST['type']; if ($_SERVER['HTTP_HOST'] == 'localhost') { $url = 'http://localhost/msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } else { $url = 'https://msmebiz.shop/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); echo ' '; } ?>