From 5970b59a5304a98ec0a6bff39e1f29eeea68a50d Mon Sep 17 00:00:00 2001
From: Banana
Date: Wed, 4 Apr 2012 13:41:23 +0200
Subject: [PATCH] php authentication methods and examples. http auth
---
authentication/README | 1 +
authentication/http-auth.php | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 authentication/README
create mode 100644 authentication/http-auth.php
diff --git a/authentication/README b/authentication/README
new file mode 100644
index 0000000..e12144e
--- /dev/null
+++ b/authentication/README
@@ -0,0 +1 @@
+Simple examples about some authentication methods / user login in PHP
\ No newline at end of file
diff --git a/authentication/http-auth.php b/authentication/http-auth.php
new file mode 100644
index 0000000..5ad1eca
--- /dev/null
+++ b/authentication/http-auth.php
@@ -0,0 +1,29 @@
+Hello ".$_SERVER['PHP_AUTH_USER'].".
";
+ echo "You entered ".$_SERVER['PHP_AUTH_PW']." as your password.
";
+}
+?>
\ No newline at end of file
--
2.39.5