Файловый менеджер - Редактировать - /home/d46091/udyogaadhaar.net/chat.php
Назад
<?php require("config.php"); session_start(); $applicant_name = $_GET['name']; $mobile_number = $_GET['phone']; $email_id = $_GET['email']; $sql=" INSERT INTO enquiry ( applicant_name, mobile_number, email_id ) VALUES ( '".$applicant_name."', '".$mobile_number."', '".$email_id."' )"; if(!$result = $conn->query($sql)){ die('There was an error running the query [' . $conn->error . ']'); } else { $_SESSION["form_id"] = $conn->insert_id; $ch = curl_init('https://crm11.techlounge.co.in/api.php?formId='.$_SESSION["form_id"].'&vendor=TTG&business=MSME&website=UDYOG-ADHAAR.IN&amount=ENQUIRY&status=Unpaid&name='.$applicant_name.'&mobile='.$mobile_number.'&email='.$email_id.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $ch = curl_init('https://crm.techlounge.co.in/api.php?formId='.$_SESSION["form_id"].'&vendor=TTG&business=MSME&website=UDYOG-ADHAAR.IN&amount=ENQUIRY&status=Unpaid&name='.$applicant_name.'&mobile='.$mobile_number.'&email='.$email_id.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); echo 'Data Inserted'; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка