| Server IP : 68.178.172.28 / Your IP : 216.73.216.32 Web Server : Apache System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64 User : kiskarnal ( 1003) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/kiskarnal/public_html/public/assets/plugins/quform/ |
Upload File : |
<?php
/**
* Quform initialisation
*
* You shouldn't need to change this file unless there is a problem
*/
// Prevent direct script access
if ($_SERVER['REQUEST_METHOD'] != 'POST' || !defined('QUFORM_ROOT')) {
exit;
}
if (version_compare(PHP_VERSION, '5.0.0', '<')) {
die('Quform requires PHP 5 or later, the server is running version ' . PHP_VERSION);
}
// Enable error reporting if debug mode is on
if (defined('QUFORM_DEBUG') && QUFORM_DEBUG) {
error_reporting(E_ALL);
@ini_set('display_errors', 'On');
} else {
error_reporting(0);
@ini_set('display_errors', 'Off');
}
// Define constants
defined('QUFORM_CHARSET') || define('QUFORM_CHARSET', 'UTF-8');
defined('QUFORM_UPLOAD_ERR_TYPE') || define('QUFORM_UPLOAD_ERR_TYPE', 128);
defined('QUFORM_UPLOAD_ERR_FILE_SIZE') || define('QUFORM_UPLOAD_ERR_FILE_SIZE', 129);
defined('QUFORM_UPLOAD_ERR_NOT_UPLOADED') || define('QUFORM_UPLOAD_ERR_NOT_UPLOADED', 130);
defined('QUFORM_HTMLSPECIALCHARS_DOUBLE_ENCODE') || define('QUFORM_HTMLSPECIALCHARS_DOUBLE_ENCODE', version_compare(PHP_VERSION, '5.2.3', '>='));
// Include required libraries
require_once QUFORM_ROOT . '/lib/PHPMailerAutoload.php';
require_once QUFORM_ROOT . '/lib/Quform.php';
Quform::registerAutoload();
// Instantiate the form
$form = new Quform();
// Strip slashes from the posted data if magic quotes is on
if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
$_POST = Quform::stripslashes($_POST);
}