--- nfo/site/htdocs/index.php 2004/08/30 11:51:15 1.5 +++ nfo/site/htdocs/index.php 2004/08/31 02:27:53 1.6 @@ -4,12 +4,29 @@ --- Main index and content access page. -------------------------------------------------------------------------------- --- rabit, 01:28 24.08.2004 ---- $Id: index.php,v 1.5 2004/08/30 11:51:15 rabit Exp $ +--- $Id: index.php,v 1.6 2004/08/31 02:27:53 rabit Exp $ ------------------------------------------------------------------------------*/ include('inc/common/common.php.inc'); //------------------------------------------------------------------------------ +//- Web authorisation: + +if(isset($_POST['un'])) { + + $common_sessiondata['userdata']['name'] = $_POST['un']; + + if(isset($_POST['pw'])) { + + $common_sessiondata['userdata']['password'] = $_POST['pw']; + + common_checkauthorisation(); + + } + +} + +//------------------------------------------------------------------------------ //- GET/POST variable encapsulation: $request_contentkey = (isset($_GET['ck']) ? $_GET['ck'] : '');