Hi all, I am not sure if this is the correct forum, but i was wonering if someone could help me with this php add-on i have for users registering. What i need to do is append the data in an external file. THis is just php code i guess. This is all contained in an EXTERNAL TEXT file; NOT a database. THis is what i want to do:
fopen(filename);
1) look up a certain line of the file
2) edit that line
3) Save the edit.
For example, say this is the file contents i have:
Quote:
username1
username2
*username3
username4
|
So i want to open the file, and remove the asterick (*) from *username3 so that the final file looks like this:
Quote:
username1
username2
username3
username4
|
[/code]