mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-05 22:55:14 +01:00
Initiale Version
This commit is contained in:
4
Kapitel_9/Lektion_4/privat/.htaccess
Normal file
4
Kapitel_9/Lektion_4/privat/.htaccess
Normal file
@@ -0,0 +1,4 @@
|
||||
AuthType Basic
|
||||
AuthName "Meine Webanwendung"
|
||||
AuthUserFile /Applications/MAMP/htdocs/privat/.htpasswd
|
||||
Require valid-user
|
||||
1
Kapitel_9/Lektion_4/privat/.htpasswd
Normal file
1
Kapitel_9/Lektion_4/privat/.htpasswd
Normal file
@@ -0,0 +1 @@
|
||||
max.muster:Z2NA6Go.o7lA6
|
||||
8
Kapitel_9/Lektion_4/privat/index.php
Normal file
8
Kapitel_9/Lektion_4/privat/index.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<h1>Geheimer Bereich</h1>
|
||||
|
||||
<?php
|
||||
|
||||
var_dump($_SERVER['PHP_AUTH_USER']);
|
||||
var_dump($_SERVER['PHP_AUTH_PW']);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user