This section is for php script involving password, that work on debian 9.3 localhost.
User link to installed application. For these links to work, this index file must be placed in /var/www/html/password/password.htm. And the application must be installed in /var/www/html/password. Open firefox browser, then insert the address "localhost/password/password.htm".
http://localhost is requesting your username and password. The site says: "Restricted area"
username= 'USERNAME'. password= 'PASSWORD'.
Include following code into every page you would like to protect, at the very beginning (first line):
Please enter password to access this page Login: admin Password: adminpass
User will be redirected to this page after logout 'http://www.example.com/
'xyzzy' 'abcdef' '123456'
Password = 'demo';
secured admin adminpass