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/"); exit(); } include_once("head.php"); echo '
$error
"; } include_once("foot.php"); ?>