PHP Session test Script Rumi, May 6, 2018May 6, 2018 I’ve just found a quality script to test php session- unless you’re in dark after some php.ini session tweaking done. To check if sessions really work you can use this code: <?php // Start Session session_start(); // Show banner echo '<b>Session Support Checker</b><hr />'; // Check if the page has been reloaded if(!isset($_GET['reload']) OR $_GET['reload'] != 'true') { // Set the message $_SESSION['MESSAGE'] = 'Session support enabled!<br />'; // Give user link to check echo '<a href="?reload=true">Click HERE</a> to check for PHP Session Support.<br />'; } else { // Check if the message has been carried on in the reload if(isset($_SESSION['MESSAGE'])) { echo $_SESSION['MESSAGE']; } else { echo 'Sorry, it appears session support is not enabled, or you PHP version is to old. <a href="?reload=false">Click HERE</a> to go back.<br />'; } } ?> Related Administrations Collected Articles Scripts phpPHP Session
Install Openfiler from USB April 24, 2013 The problem we have now is our storage server has no optical drive and we do not have any external optical drive available here in office. Alternatively, we can use USB stick drive and make sure our server are able to boot from USB. Server: DELL PowerEdge R510 OS version:… Read More
Install Proxmox VE 6 on Debian 10 (Buster) October 25, 2019 Proxmox Virtual Environment (VE) is an enterprise-grade open-source server virtualization solution based on Debian Linux distribution with a modified Ubuntu LTS kernel. It allows you to deploy and manage both virtual machines and containers. This setup presumes you have a running Debian 10 Buster Linux server running. If you don’t… Read More
Set Up Apache Virtual Hosts on Debian 7 July 29, 2019 Step One— Create a New Directory First, it is necessary to create a directory where we will keep the new website’s information. This location will be your Document Root in the Apache virtual configuration file. By adding a -p to the line of code, the command automatically generates all the… Read More