Let's say I wanted to create something like the way cPanel works, it uses the username and password from the system.
You can run "passwd user" on the server, and the password will work with cPanel and FTP (not necessarily MySQL, but you will get the point)
How would this be done in PHP? I have no idea other than running / bin / su locally and working on it. However, this may be inaccurate, although .. Usually I have several of my developers either on a sub-account or on something to learn.
Any ideas would be greatly appreciated, thanks! :)
Billy source
share