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!
Of course it can. You can either use exec() or system() to run a command to add a user - just like you would if you were on the command line.
Or you can open the passwd file and insert the line by hand. Or you can use exec() or system() again to do something like exec('echo blah:::: > etc/passwd');