Hello,
I'm creating a basic login for my web site. There is a text file that stores the user's information.
eg.
username|password|full name|email address
... and maybe more information delimited by a |
Now when the user enters the username and password, I want the script to go into the file and look for a matching username and then check its password.
If it matches then it will print a logged in message, if not, it will print an error message.
Can someone please write me the code for it.
The text file will not have a fixed length as other people may subscribe. However I want to use a text file for now and NOT mysql.