Skip to content

Instantly share code, notes, and snippets.

@lukas-buergi
lukas-buergi / checkSession.php
Created June 26, 2012 13:18
Check whether sessions work in php
<?php
error_reporting( E_ALL );
ini_set( 'display_errors', 1);
if(!isset($_GET['action'])){
die('Param is missing. Look at the <a href="https://gist.github.com/2995743">source</a>.');
}
switch($_GET['action']) {