under linux OS, how to add a user using PHP3?
passthru("useradd test -p abcd12345")
cann't work!!
Help,thanks alot!
isn't it exec() ?? I.e. exec("useradd test -p abcd12345")
You can not use the command "useradd" if you installed PHP with module.Because you are a nobody user.
to run "useradd"
you need install php with cgi-mode and install apache with suexec.
But. It is very dange!!
Good lucky.
At least it's doable! Can't say no to that.