print_file(); //main********************************************************************************* //ini_set('display_errors', TRUE); ini_set('session.use_trans_sid','0'); ini_set('arg_separator.output','&'); session_name('EXPID'); session_start(); session_control(); echo "
LogIn broken";
var_dump($_SESSION);
echo "
"; switch ( $_SESSION['mode'] ){ case 0://Login anzeigen session_regenerate_id(true); printContent('login'); session_destroy(); break; case 2://Authentifizierung #if ( !($_SESSION['login'] == session_login()) ) session_restart(2);//unset session-mode session_login(); case 1://Aufbau der Hauptseite echo "here"; output_add_rewrite_var(session_name(),session_id()); registerUserInformation(); //@functions.php printContent('folder');//Seite ausgeben break; case 3://Ausloggen session_regenerate_id(true); session_restart(0);//voller Neustart break; } ob_end_flush(); //main*end***************************************************************************** $mt_end = microtime(true); //echo ($mt_end - $mt_start).' sec'; //phpinfo(); ?>