'Signon test']; $_SESSION['PMA_single_signon_HMAC_secret'] = hash('sha1', uniqid(strval(rand()), true)); $id = session_id(); /* Close that session */ @session_write_close(); /* Redirect to phpMyAdmin (should use absolute URL here!) */ header('Location: ../index.php'); } else { /* Show simple form */ header('Content-Type: text/html; charset=utf-8'); echo '' , "\n"; ?> phpMyAdmin single signon example '; echo $_SESSION['PMA_single_signon_error_message']; echo '

'; } ?>
Username:
Password:
Host: (will use the one from config.inc.php by default)
Port: (will use the one from config.inc.php by default)