/usr/share/doc/phpmyadmin/examples
NameSizeModeActions
config.manyhosts.inc.php20730644editdlrm
config.sample.inc.php44740644editdlrm
create_tables.sql109490644editdlrm
openid.php45500644editdlrm
signon-script.php7960644editdlrm
signon.php25600644editdlrm
Edit: /usr/share/doc/phpmyadmin/examples/signon.php (2560B)
'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"; echo ' phpMyAdmin single signon example '; if (isset($_SESSION['PMA_single_signon_error_message'])) { echo '

'; echo $_SESSION['PMA_single_signon_error_message']; echo '

'; } 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)
'; }