From 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa Mon Sep 17 00:00:00 2001
From: Charles
Date: Thu, 9 Jan 2020 10:55:03 +0100
Subject: phpmyadmin working
---
srcs/phpmyadmin/examples/signon.php | 76 +++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 srcs/phpmyadmin/examples/signon.php
(limited to 'srcs/phpmyadmin/examples/signon.php')
diff --git a/srcs/phpmyadmin/examples/signon.php b/srcs/phpmyadmin/examples/signon.php
new file mode 100644
index 0000000..73f26fe
--- /dev/null
+++ b/srcs/phpmyadmin/examples/signon.php
@@ -0,0 +1,76 @@
+ 'Signon test'];
+ $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 '
';
+ }
+ ?>
+
+
+
+
--
cgit