Файловый менеджер - Редактировать - /home/d46091/efoodlicence.com/config.php
Назад
<?php header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // $host = "localhost"; // $userName = "root"; // $password = ""; // $dbName = "amitk173_foodlic"; // $host = "localhost"; // $userName = "uoxlqjpzbcvus"; // $password = "freeDOM@611#"; // $dbName = "dbp4kzquffcvso"; $host = "localhost"; $userName = "d46091_efoodlicence"; $password = "freeDOM@611#"; $dbName = "d46091_efoodlicence"; // Create database connection // $conn = new mysqli($host, $userName, $password, $dbName); // if ($conn->connect_error) { // die("Connection failed: " . $conn->connect_error); // } try { $conn = new PDO("mysql:host=$host;dbname=$dbName", $userName, $password); // set the PDO error mode to exception $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // echo "Connected successfully"; } catch(PDOException $e) { echo "Connection failed: " . $e->getMessage(); } $allowedIps = ['103.88.133.3']; $userIp = $_SERVER['REMOTE_ADDR']; if (in_array($userIp, $allowedIps)) { //-------------------------------- RAZORPAY - TEST ------------------------------ $keyId = 'rzp_test_2yfhfyvVNb9FtQ'; $keySecret = 'U0UkmtXiMlKDNdKfpGESvisD'; $displayCurrency = 'INR'; } else if (!in_array($userIp, $allowedIps)) { //-------------------------------- RAZORPAY ------------------------------ // Tax Guruzz 69 //TAXGURUZZ69@GMAIL.COM $keyId = 'rzp_live_WIrCfnd8sAqNY4'; $keySecret = 'OUjPTEJuVFSmIMUsV1IcG5UX'; $displayCurrency = 'INR'; } // Cashfree TAX CARE 6922 define('CASHFREE_APP_ID', '632587f4278b88c2963e2d4cc85236'); define('CASHFREE_KEY_SECRET', '477d8fce486a600d860c07a559c8bceb5ec24fd1'); define('RETURN_URL', 'https://foodlicenceapply.com/cashfree-response.php'); define('NOTIFY_URL', 'https://foodlicenceapply.com/cashfree-notification.php'); define('REQUEST_URL', 'https://test.cashfree.com/billpay/checkout/post/submit'); error_reporting(E_ALL); ini_set('display_errors', 0); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка