im not really sure where to start on this and im not completely sure if it can be done but what i want to do is build a php page that will basically allow users to run a program on the server to create them a user name?

/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -p 80 -web "WEBDIR" -xu nobody -xg nobody -u USERNAME -pw PASSWORD -s /usr/local/apache/conf/httpd.conf
and where username and password is basically a box where they can type what ever they want in? and it will put the username variable in the WEBDIR...i wrote a bash script which was easy enough but php kind of a new beast to me.. basically trying to cut down the amount of work i have to do.....cause im lazy.... and cause i got alot of other things to do