What I am doing is creating a simple login and register system. I am going to save the information of each user into a text or ".dat" format and have them placed into a folder called "accounts".

The small problem that I have is the "Forgot Password" option. I can't think of how to search all the documents for the e-mail or the username.

So basically I need to know if it is possible to do a small search for the e-mail through all the documents in the "accounts" folder.

**I know another option may be databases...but I don't completely know how to use these.
**I have general knowledge of arrays

Don't know what else to say, just need a general search function I guess ^_^

Thanks for the help