View file in.php

File size: 327B
<?php
session_name("SID");
session_start();

if(isset($_GET['pass'])){$pass = $_GET['pass'];}
if(isset($_GET['login'])){$login = $_GET['login'];}

$_SESSION['login']=$login;//регистрируем сессию
$_SESSION['pass']=md5($pass);//регистрируем сессию

header("Location: index.php");
?>