Hi, all
I had made a script that add user account and settings to a ftp server users.ini file using the data from phpnuke_user table.
This works fine for the time being. What I want to do next is to update the set of record in the users.ini file when users update their member info in the phpnuke_user table.
Actually, what I only need to change in the users.ini is the password, rest of the setting won't be changed.
How am I going to search and replace this string in the users.ini file?
I think if I could do this task with the script, this might as well serve as a error checking for existing user before I create the account.
The way I am doing it now is just add the user account set at the end of the users.ini relying that the user won't be duplicate because the phpnuke had checked it for me.
Thanks in advance for the time
Regards,