Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\Page\admin\inc\header.php on line 10
Beim folgenden Script:
PHP Code:
<?php
session_start();
include('inc/config.inc.php');
if(isset($_SESSION['user'])) {
if( !IsAdmin(mssql_escape_string($_SESSION['user'])) )
echo '<h1>You don\'t have the rights to access this site!</h1>';
exit;
}
} else {
echo '<h1>You don\'t have the rights to access this site!</h1>';
exit;
}
?>