Файловый менеджер - Редактировать - /home/d46091/udyamprocessing.in/re-submit.php
Назад
<?php if ( (isset($_POST['cid']) && $_POST['cid'] != '') && (isset($_POST['type']) && $_POST['type'] == 'first') ) { $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); // if ($_SERVER['HTTP_HOST'] == 'localhost') { // $url = 'http://localhost/crm5.in/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; // } else { // $url = 'https://crm5.in/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 ' <script> alert("'.$response.'"); window.history.back(); </script> '; } 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); // if ($_SERVER['HTTP_HOST'] == 'localhost') { // $url = 'http://localhost/crm5.in/api/set-re-otp.php?type='.$type.'&cid='.$cid.''; // } else { // $url = 'https://crm5.in/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 ' <script> alert("'.$response.'"); window.history.back(); </script> '; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка