Can someone help?
I have a php script but I want it to run only if someone have a username and password that would be included in a config.php file.
So let's say I have the script named horoscope.php and the database.txt file with 100 pre defined serials and usernames. In order for the horoscope.php file to run it must find the config.php file and the username,password,(i.e user1,pass1). Those must also be in the database.txt file. This database.txt will have i.e 100 usernames and passwords:
user1,pass1
user2,pass2
user3,pass3
user4,pass4
If the username and password in the config.php don't match with one of the 100s in the database.txt then the horoscope.php file must not run.
Thanks again in advance for your time and help.
James