From: Banana Date: Wed, 4 Apr 2012 11:41:23 +0000 (+0200) Subject: php authentication methods and examples. http auth X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=5970b59a5304a98ec0a6bff39e1f29eeea68a50d;p=dolphin.git php authentication methods and examples. http auth --- 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