Forum Moderators: coopster

Message Too Old, No Replies

.htaccess and simple login form on the page

simple login (not pop-up) and .htaccess files

         

alkol

5:50 pm on Nov 20, 2005 (gmt 0)



Hello There.

I apply .htacces files to protect directories. I would like create simple login form (not standard pop up login form), authenticate users thru my files with username-password and avoid pop-up login.
Thank you for advance.

le_gber

4:24 pm on Nov 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am not sure you can achieve this using the .htaccess file.

.htaccess is set to receive the login info from the popup box.

If you want a form you could use php (as you are in the PHP forum) and cookies or session variables to check that the user is / has logged in and redirect the non logged in user to the login / form page

hope this helps