This is for a login form. The user needs to enter the correct username and password which are stored on the text file to gain access.
I already have the usernames and passwords in the text file so i need to know how to compare them with what the user entered
How do I check to see what the user has entered in the username and password text box with what the username and password is saved as on a text file?
For example,
IN THE TEXT FILE:
exampleusername, examplepassword
username2, password2
i need to compare what the user entered for the username and password with the correct login details already saved in the text file.
If the user enters the wrong password/username for that username/password there will be a message box saying error.
If the user enters the correct information form the text file they shall be allowed access
I already have the usernames and passwords in the text file so i need to know how to compare them with what the user entered
How do I check to see what the user has entered in the username and password text box with what the username and password is saved as on a text file?
For example,
IN THE TEXT FILE:
exampleusername, examplepassword
username2, password2
i need to compare what the user entered for the username and password with the correct login details already saved in the text file.
If the user enters the wrong password/username for that username/password there will be a message box saying error.
If the user enters the correct information form the text file they shall be allowed access