$htpasswd = "htpasswd -b /home/pathto ulist/ulist $user $password"; $makedir = "mkdir /home/pathtodir/$user";