I was told that creating a Linux system user using PHP3 in 2 ways:
1) system("adduser $username");
system("echo 'mypass' | passwd --stdin
$username");
2) int vm_adduser (string vdomain, string basepwd,
string newusername, string newuserpassword)
- So which one is the reliable one ?
- How diffrence these 2 are from each other ?