I want to do something like this with php
There are lots of account files in a folder and that account file's names are usernames of accounts.I want to open that folder and take every files names and insert it into mysql by order or open every file and take some spesific lines (like password line or username line) and insert it into mysql by order. Is it possible to that ? If it is how?
Thanks
I suggest you read up on [man]readdir[/man] to get the file names, then [man]fread[/man] to open the file and (probably) [man]explode[/man] to get the data out of the file.
It shouldn't be too hard,
HTH,
ucbones