Gossamer Forum
Home : Products : DBMan : Installation :

deleting users

Quote Reply
deleting users
I have DBMAN setup to write username, email, and password to a seperate text file. Is it possible to set up dbman so a user is deleted from this text file as well as from the database file when they use the 'delete record' function?

thanks for the great support so far!
Quote Reply
Re: deleting users In reply to
Sure, it would be possible. You'd have to add some code to the delete_record subroutine in db.cgi to open the text file, find the right record and delete it. (Well, actually, you load the file in and keep every record except the one you're deleting and then save the file again.) You should be able to figure out the code you need to write by looking at the delete_record subroutine in db.cgi.

------------------
JPD