Файловый менеджер - Редактировать - /home/d46091/payrr.org/auth.php
Назад
<?php include_once('config.php'); // echo '<pre>'; // print_r($_POST); date_default_timezone_set('Asia/Kolkata'); $date = date('d-m-Y H:i:s'); $form_id = $_POST['form_id']; $name = $_POST['name']; $mobile = $_POST['mobile']; $email = $_POST['email']; $amount = $_POST['amount']; $website = $_POST['website']; $business = $_POST['business']; $auth_key = $_POST['auth_key']; $form = $_POST['form_name']; $status = 'Unpaid'; $sql = "INSERT INTO form_pay (auth_key, form_id, name, mobile, email, amount, website, business, form, status, created_date) VALUES ('$auth_key', '$form_id', '$name', '$mobile', '$email', '$amount', '$website', '$business', '$form', '$status', '$date')"; if ($conn->query($sql) === TRUE) { echo "Record inserted successfully"; } else { echo "Error: " . $sql . "<br>" . $conn->error; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка