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
When i installed Debian, i forgot to install GNOME! How to install? July 11, 2011 apt-get install x-window-system Once X installed proceed with gnome, following packages are minimum but gives you gnome gui based interface… so on it's easier to add other packages from synaptic. apt-get install gnome-core gdm synaptic Be careful on you /et/apt/source.list file- if the CDROm is un-commented then installation will begin… Read More
Restore ZFS Pool and storage data November 23, 2023 If the disks are recognized from your OS the command: zpool import should be enough to get the pool imported and visible in your current OS. You can check the status with command zpool status You can try to import it explicitly by name zpool import ZStore P.S. Do not… Read More
Install Collabora Online on Ubuntu 20 for Nextcloud February 24, 2023 First, log in to your Ubuntu 20.04 server through SSH as the root user or any other user with sudo privileges: ssh root@IP_Address -p Port_number You will need to replace ‘IP_Address‘ and ‘Port_number‘ with your server’s respective IP address and SSH port number. Additionally, replace ‘root’ with the username of… Read More