Is there any way to create a php login page using txt file. I dont want to use database for that.
Also I dont want the user to enter password. They just need to enter login id. If it matches the text file than it will take you to another page or it will show error message.
THanks in advance
Is the text file going to contain a list of user id's, or just one?
Sounds like you could use [man]file/man to load the file as an array of lines, and then use [man]in_array/man to check if the id given exists in the array of allowed id's.
yes the text file will contain the list of user id
such as
text brian alex susan ryan
Then in that case it sounds like my suggestion is valid, though I'm curious why you were so opposed to using a DBMS when you're dealing with a database anyway.