IP : 18.119.192.221Hostname : host45.registrar-servers.comKernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64Disable Function : None :) OS : Linux
PATH:
/
home/
../
var/
softaculous/
hizup/
../
gnu/
../
piwik/
../
sugar/
../
hizup/
_constants.php/
/
<?php /** * @author Pierre-Henry Soria <hello@ph7builder.com> * @copyright (c) 2012-2023, Pierre-Henry Soria. All Rights Reserved. * @license MIT License; See LICENSE.md and COPYRIGHT.md in the root directory. * @link https://ph7builder.com * @package PH7 */
// Determine the domain name, with the port if necessary $sServerName = $_SERVER['SERVER_NAME'] !== $_SERVER['HTTP_HOST'] ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME']; $sDomain = ($_SERVER['SERVER_PORT'] !== '80' && $_SERVER['SERVER_PORT'] !== '443' && strpos($sServerName, ':') === false) ? $sServerName . ':' . $_SERVER['SERVER_PORT'] : $sServerName;
// Get the domain that the cookie and cookie session is available (Set-Cookie: domain=your_site_name.com) // $sDomain_cookie = (substr($_SERVER['HTTP_HOST'], 0, 4) === 'www.') ? '.' . substr($_SERVER['HTTP_HOST'], 4) : '.' . $_SERVER['HTTP_HOST']; $sDomain_cookie = '.' . str_replace('www.', '', $sDomain);
// Determine the current file of the application $sPhp_self = str_replace('\\', '', dirname(htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES))); // Remove backslashes for Windows compatibility