Hello all, i'm making the move from ASP to PHP, especially since I moved from window to linux. Anyway, I'm looking at writing a flat-file login system, unfortunatley, i'm stumped. The actual login data file would look like this:
and then the next user and so on and so forth. So far, i'm reading each user into an array, like so:
$filename = "accounts";
$struser = explode("[USER=",fread(fop
echo "<br />";
The next step, I guess, would be to get the line "PASSWORD=" and see if it corresponds to the relevant username entered into the form. This is where I loose it ;P, any help would be GREATLY appreciated!