17 lines
262 B
PHP
17 lines
262 B
PHP
<?php
|
|
ini_set('display_errors', 1);
|
|
error_reporting(E_ALL);
|
|
|
|
session_start();
|
|
|
|
echo "session_start() called.<br>";
|
|
|
|
if (!isset($_SESSION['user_id'])) {
|
|
echo "user_id not set.<br>";
|
|
// header('Location: login.php');
|
|
// exit;
|
|
}
|
|
|
|
echo "end of test";
|
|
?>
|