Fico l'indovinagrillo!

Posto solo il PHP.

Prima pagina:

<?php
session_start();
?>

Seconda Pagina:

<?php
session_start();

$user_name = $_REQUEST['user_name'];
$password = $_REQUEST['password'];
$logged = $_REQUEST['logged'];


if($logged != 1){

if($user_name != "test" or $password != "testpassword") die(You_Are_Not_Autorized);



};


$_SESSION['logged'] = "1";



?>