View file adminka/go.php
<?php session_name("SESID"); session_start(); // выводим верх страницы include ('../verh.php'); $_SESSION['pass'] = ($_POST['pass']); if ($_SESSION['pass']==$adminpass) header ("Location: apanel.php"); else header ("Location: index.php?err=1"); echo "</body></html>"; ?>