View file config.php
<?php session_start(); $admin_pass='124578'; $vsego='10'; if (!empty($_GET['pass'])){ $_SESSION['text']='Привет Админ!<br/>'; $_SESSION['pass']=$_GET['pass']; $pass=$_GET['pass']; } elseif(!empty($_SESSION['pass'])){ $pass=$_SESSION['pass']; } else { $pass=''; } if ($pass!==$admin_pass) { $pass=''; } ?>