Posted by:
hugohugo
(---.126.29.14.ip.onderwijs.casematelecom.nl)
Hey..
Here is the same probleme.
This is my begin of my site:
<?
session_start();
include 'class_login.php';
$login = new loginclass();
if (isset($_GET['loguit']))
{
$login->logout();
}
$login->required_lvl = 8;
$login->startpage();
$level = $login->level;
$name = $login->name;
?>
i see:
logout(); } $login->required_lvl = 8; $login->startpage(); $level = $login->level; $name = $login->name; ?>
and if i make it <?php then i get this:
check_if_logged_in($_SESSION['name'],$_SESSION['control'])) { $this->set_url(); $this->logout(); } else { $this->getlevel(); $this->check_if_access_to_page(); } } else { $this->set_url(); $this->logout(); } } function login_check() ///zodat een al ingelogde user niet op de login pagina kan komen { if ($this->check_if_logged_in($_SESSION['name'],$_SESSION['control'])) { header("Location: ".$this->start_page.""
; } } function login($name,$pass) ///word uitgevoerd na username en pass submit. ect..........
Hope somewhan can help us!