Automatic Set up of FTP accounts

libdanz
libdanz used Ask the Experts™
on
I want to have a website that automatically setup FTP accounts using PureFTP and also email accounts...

How do I go about that one using PHP..

Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
I don't know pureftp.
Have a look at http://www.pureftpd.org/README.Virtual-Users

You need top know where your login & password must be created.
Then you can write a php script by using the exec function or system function
http://www.php.net/manual/en/function.exec.php

Commented:
I would look at shell commands and sudo to allow the web server to add the users. I would be very carefull with checking the data a user submits to make sure it is not trying to escape and run other system calls.

Commented:
thx

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial