I am not sure if this is a newb question or not.
In v2.0 of the site I am making I would like to have a new user to get his own "web space", that could be reached via mywebsite.com/user(really Id like the login to refer them to that path and restrict them to it). I know I can make new dir associated with the user with adduser commands, but I need it to happen via PHP. Right now I am running Ubuntu/Apache/MySql/PHP and a new user gets his user name and pw in the MySql db..I need it to all link to his "space" on the server.
I would also need some sort of script run when the user was created to build the structure the users directory but I think I could manage that with shell_exec.
Any tips advice pointers?
Thanks in advance!