Code: Select all
<?php
$_SESSION['login_username']= $_POST['**********'];
$_SESSION['login_password']= $_POST['***********'];
include "sessions.php";
if( ($login->authorised()) )
if($login->didLogin())
if($login->getType() == 2)
header("Location: recruit.php");
if($login->didFail())
header("Location: join.php");
?>As always, thanks in advance
Batoe