August 19th, 2000, 04:52 PM
I would like to create users accounts on my linux box through over the internet using php3.......can anybody point me in the right direction.
I am use redhat 6.2, mysql, apache, php3
August 19th, 2000, 05:22 PM
I assume you mean using system functions ect, right?
I suggest using perl for this.
August 20th, 2000, 06:38 AM
Perl? Why? I thought you could do this with PHP as well? Use the 'exec' function to call linux commands with some variables from PHP.
You can make an account with a random password, send a mail to the new user by PHP with this password and instructions how to change it, etc... (or something like this)
Lucien, just look at some old postings: I don't know how they did it exactly, but I've seen it before
August 20th, 2000, 09:43 PM
thanx for your advice......
One of my problems is that inorder for me to create an account I have to have root privilege. Im using Apache which uses an account call nobody which does no have root privilege...how do I get around that?