php_myadmin_connect()) { $error=$err->errstr(); } else { // SSO of PhpMyAdmin $_SESSION['PMA_single_signon_user'] = $r["login"]; $_SESSION['PMA_single_signon_password'] = $r["pass"]; $_SESSION['PMA_single_signon_host'] = $r["host"]; // pma >= 2.11 session_write_close(); // finally redirect to phpMyAdmin : header("Location: /alternc-sql/index.php"); exit(); } include_once("head.php"); echo '

'._("SQL Admin").'

'; if (!empty($error)) { echo "

$error

"; } include_once("foot.php"); ?>