SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot daemon's Avatar
    Join Date
    Apr 2001
    0 Post(s)
    0 Thread(s)

    access system functions

    Hi all,
    I'm currently working on some kind of userarea where customers can change passwords for their email accounts (thats what i want to have in the end). I'm just wondering what the best (or a possible) way to acomplish this would be.
    I'm also thinking of allowing users to add their own aliases to the sendmail subsystem or even create new accounts over a web interface.
    Unfortunately I have absolutely no idea how to get started.
    Any ideas are welcome.

  2. #2
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    The Netherlands
    0 Post(s)
    0 Thread(s)
    I think you could use the fwrite command to write to alias files etc.

    Take a look at these funtions

    I would be careful doing this, maybe have the script backup the affected files before changes are being made, so you can restore the original files in case something goes wrong.

    To add new e-mail accounts, change passwords and so on you would need the system command:

    Hope this helps you in the right direction.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts