Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Login forms

VQuaresma

New Coder
Hi, friends. Your help is very important to me. I have my web pages in a protected folder in my server. When someone tries to open any page in that folder an authomatic pop-up form opens to validate the member's login and password. So far so good. This was expected. But how can I have my own login form? I mean, I already have my login form and my member's logins and passwords in a .htpasswd file in a folder outside public_html folder. My problem is how to make my login form work! Thank you for your help.
 
Two questions that have me worried.
Why have the passwords in a file and not encoded and saved in a database?
And Why a separate login? Your answers should tell the page who you are.
Or when PHP/JS recognizes you it could send you a second validation form.
 
Hi, friends. Your help is very important to me. I have my web pages in a protected folder in my server. When someone tries to open any page in that folder an authomatic pop-up form opens to validate the member's login and password. So far so good. This was expected. But how can I have my own login form? I mean, I already have my login form and my member's logins and passwords in a .htpasswd file in a folder outside public_html folder. My problem is how to make my login form work! Thank you for your help.
Hi there,

Uhm...you might want to rethink your approach now lol. This is why you don't mention specific file locations. As @OldMan mentioned, is there a particular reason you didn't implement a database for that information?
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom