http://www.nikolas.tk is my web page! How can i do it for when the user clicks one of my buttons that corresponds to programs to ask him for a username and pass popping a box?
Thanks!
to EvilCoder!
Moderator: General Moderators
have you looked in to using .htaccess and .htpasswd files?
http://www.javascriptkit.com/howto/htaccess.shtml
that will help you with htacess now this might help with .htpasswd
http://www.cts.wustl.edu/cts/help/web/a ... asswd.html
http://www.javascriptkit.com/howto/htaccess.shtml
that will help you with htacess now this might help with .htpasswd
http://www.cts.wustl.edu/cts/help/web/a ... asswd.html
This is my .htaccess file but for somew reason when it prompts for authentication although i have configured .htpasswd is doesnt validate me!
And yes i have placed it correctly /home/nik/public_html/
AuthUserFile /home/nik/public_html/.htpasswd
AuthGroupFile /dev/null
AuthName "Πνευματικά Κείμενα"
AuthType Basic
require user nikos
require user nagia
Thanks!
And yes i have placed it correctly /home/nik/public_html/
AuthUserFile /home/nik/public_html/.htpasswd
AuthGroupFile /dev/null
AuthName "Πνευματικά Κείμενα"
AuthType Basic
require user nikos
require user nagia
Thanks!