----- Original Message ----- From: "Jonas Pasche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 30, 2003 4:57 PM Subject: Re: [vchkpw] Script for users to delete their own account
> Hi <unknown>, > > please give yourself a realname when posting to a mailing list. Thanks. > I am sorry about that. > > Do you really want a web interface for solely letting users delete their > account? Why should they do so? Or are you looking for a function to > integrate into an existing web environment? I want users to delete their own account if they are not going to use the service any more. > > In either case, simply let the user log in (= check his password), then > issue "vdeluser <user>@domain.tld", e.g. with a system() command or > using the vpopmail API, and done. Don't forget to kick the user out of > the web interface immediately, as he doesn't have any more privileges. > > Jonas > Would you please give me more detail? I am not sure how to do. Thanks a lot. I have tried to use php to do exec() and system() but failed. Regard, Qing.