okay, ive solved that problem, now, if i want to store username and password in another txt file, what would i have to put in the main php page codes?
eg.
Code:
if(file('logindata.txt'))
return true;
else
return false;
so far, i tried file(), fileread(), file_ get_ contents(), include(), require()...etc.. and a bunch of them, but none works, can you give me a suggestion?