View sourcecode

The following files exists in this folder. Click to view.

index.php

1 lines ASCII Unix (LF)
1
<?php

/**
 * Start the session.
 *  *
 *   */
//session_name(preg_replace('/[:\.\/-_]/', '', __DIR__));
session_name(preg_replace('/[^a-z\d]/i', '', __DIR__));
session_start();

echo "Session name is: " . session_name() . "<br>";
echo "Session id id: " . session_id() . "<br>";