Creating new FTP users in PHP!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Creating new FTP users in PHP!

Post by Joe »

This is just a question out of curiosity but how do company's such as web providors create an area in the control panel where you can create new FTP users. I want to try it out on my own server if I can get some info.

Regards


Joe 8)
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

You'd need to write to the ftp server config file, it is just plain text, so it shouldn't be too difficult. Never tried it myself though...
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

OK Well thanks alot, I thought it was something along the lines of that but I cannot seem to find anything useful on it!
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

if its on linux you might be able to use exec to do it.. ( never tried it, dont think its a smart idea either. )
Post Reply